diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 59dca7d3ad..c77cd0341d 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -5064,7 +5064,8 @@ sub git_blob { chomp $line; $nr++; $line = untabify($line); - printf "
%4i %s
\n", + printf "
1) + . "#l%i\" class=\"linenr\">%4i %s
\n", $nr, $nr, $nr, esc_html($line, -nbsp=>1); } }