* [PATCH] www_coderepo: use space for snapshot_fmt prefix
@ 2023-09-15 18:33 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2023-09-15 18:33 UTC (permalink / raw)
To: meta
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");
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-15 18:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-15 18:33 [PATCH] www_coderepo: use space for snapshot_fmt prefix Eric Wong
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).