]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
www_coderepo: use space for snapshot_fmt prefix
authorEric Wong <e@80x24.org>
Fri, 15 Sep 2023 18:33:44 +0000 (18:33 +0000)
committerEric Wong <e@80x24.org>
Sat, 16 Sep 2023 12:12:25 +0000 (12:12 +0000)
The tab character causes inconsistent spacing on display,
and a single space seems fine, here.

lib/PublicInbox/WwwCoderepo.pm

index d7ac44ed8ecfcb959aa9475e97ac2520a360deb8..834145e9f70b6990270ea59bf62c04b2f3068442 100644 (file)
@@ -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");