lib/PublicInbox/ViewVCS.pm | 16 ++++++++-------- diff --git a/lib/PublicInbox/ViewVCS.pm b/lib/PublicInbox/ViewVCS.pm index 23524ac00b7e1a937b8924ba868adaa83f0c58d1..8fb0844d989f0fb8d67cfa534f20fc536b5f3c9a 100644 --- a/lib/PublicInbox/ViewVCS.pm +++ b/lib/PublicInbox/ViewVCS.pm @@ -313,15 +313,15 @@ } else { $$blob = ascii_html($$blob); } - # using some of the same CSS class names and ids as cgit - html_page($ctx, 200, "
$oid $type $size bytes $raw_link
" . + my $x = "
$oid $type $size bytes $raw_link
" . "
". - "
" . join('', map {
-			sprintf("% ${pad}u\n", $_)
-		} (1..$nl)) . '
' . - '
 
'. # pad for non-CSS users - "" . - $ctx->{-linkify}->linkify_2($$blob) . + "
";
+	$x .= sprintf("% ${pad}u\n", $_) for (1..$nl);
+	$x .= '
 
'. # pad for non-CSS users + ""; + + # using some of the same CSS class names and ids as cgit + html_page($ctx, 200, $x, $ctx->{-linkify}->linkify_2($$blob), ''.dbg_log($ctx)); }