user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH] www_coderepo: use space for snapshot_fmt prefix
@ 2023-09-15 18:33  7% Eric Wong
  0 siblings, 0 replies; 1+ results
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	[relevance 7%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2023-09-15 18:33  7% [PATCH] www_coderepo: use space for snapshot_fmt prefix Eric Wong

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).