user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
From: Eric Wong <e@80x24.org>
To: meta@public-inbox.org
Subject: [PATCH] www_coderepo: use space for snapshot_fmt prefix
Date: Fri, 15 Sep 2023 18:33:44 +0000	[thread overview]
Message-ID: <20230915183344.27349-1-e@80x24.org> (raw)

The tab character causes inconsistent spacing on display,
and a single space seems fine, here.
---
 lib/PublicInbox/WwwCoderepo.pm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/PublicInbox/WwwCoderepo.pm b/lib/PublicInbox/WwwCoderepo.pm
index d7ac44ed..834145e9 100644
--- a/lib/PublicInbox/WwwCoderepo.pm
+++ b/lib/PublicInbox/WwwCoderepo.pm
@@ -114,7 +114,6 @@ sub _refs_tags_link {
 		@snap_fmt = map {
 			qq{ <a href="${upfx}snapshot/$snap_pfx$v.$_">$_</a>}
 		} @snap_fmt;
-		substr($snap_fmt[0], 0, 1) = "\t";
 	}
 	("<a\nhref=$upfx$oid/s/>", ascii_html($ref),
 		"</a>$align ", ascii_html($s), " ($cd)", @snap_fmt, "\n");

                 reply	other threads:[~2023-09-15 18:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230915183344.27349-1-e@80x24.org \
    --to=e@80x24.org \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).