From c57a650986b86891855f0caf720d953142a0c381 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 20 Jan 2019 12:18:35 +0000 Subject: viewvcs: disable white-space prewrap in blob view We need to keep line-numbers from tags synced to the actual line numbers in the code when working in smaller viewports. Maybe I only work on reasonable projects, but excessively long lines seem to be less of a problem in code than they are in emails. --- lib/PublicInbox/ViewVCS.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/PublicInbox/ViewVCS.pm b/lib/PublicInbox/ViewVCS.pm index 61f4deba..4a3896d4 100644 --- a/lib/PublicInbox/ViewVCS.pm +++ b/lib/PublicInbox/ViewVCS.pm @@ -100,7 +100,8 @@ sub show ($$;$) { sprintf("% ${pad}u\n", $_) } (1..$nl)) . '' . '
 
'. # pad for non-CSS users - "
" .  ascii_html($$blob) .
+		"" .
+		ascii_html($$blob) .
 		'
' . $log; html_page($ctx, 200, \$log); -- cgit v1.2.3-24-ge0c7