Merge branch 'mm/config-pathname-tilde-expand' into maint
[gitweb.git] / gitweb / gitweb.perl
index 59dca7d3ada7505f155e4aa7890e03b775043212..c77cd0341d98f6a38af55c6ed6f09704abf4e967 100755 (executable)
@@ -5064,7 +5064,8 @@ sub git_blob {
                        chomp $line;
                        $nr++;
                        $line = untabify($line);
-                       printf "<div class=\"pre\"><a id=\"l%i\" href=\"#l%i\" class=\"linenr\">%4i</a> %s</div>\n",
+                       printf "<div class=\"pre\"><a id=\"l%i\" href=\"" . href(-replay => 1)
+                               . "#l%i\" class=\"linenr\">%4i</a> %s</div>\n",
                               $nr, $nr, $nr, esc_html($line, -nbsp=>1);
                }
        }