]> Lady’s Gitweb - Gitweb/blobdiff - gitweb.perl
gitweb: highlight: replace tabs with spaces
[Gitweb] / gitweb.perl
index ccb06cdc140a3d9a6f5e5da41da5a23d95ebf20cd55ca0c51acaf8ec7476e9c1..9781338de7151def013971f6ee2b2ba1c0eaa70205eaf833991720237c8f5cec 100755 (executable)
@@ -3469,7 +3469,7 @@ sub run_highlighter {
        close $fd;
        open $fd, quote_command(git_cmd(), "cat-file", "blob", $hash)." | ".
                  quote_command($highlight_bin).
        close $fd;
        open $fd, quote_command(git_cmd(), "cat-file", "blob", $hash)." | ".
                  quote_command($highlight_bin).
-                 " --fragment --syntax $syntax |"
+                 " --replace-tabs=8 --fragment --syntax $syntax |"
                or die_error(500, "Couldn't open file or run syntax highlighter");
        return $fd;
 }
                or die_error(500, "Couldn't open file or run syntax highlighter");
        return $fd;
 }
This page took 0.217079 seconds and 4 git commands to generate.