]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: Replace SPC with   also in tag comment
authorJakub Narebski <redacted>
Fri, 24 Nov 2006 21:25:50 +0000 (22:25 +0100)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:11 +0000 (00:07 -0400)
Commit messages had SPC replaced with &nbsp; entity;
make it so also in tag message (tag comment).

Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl

index 8c5ea1ae2754ca6eb7920565a918158687c148632505cc54532eed1406510cca..a7dbdaa77100c28c9ca47bce84f832e9fe49911a7ea0a15508eea6974034daf4 100755 (executable)
@@ -2920,7 +2920,7 @@ sub git_tag {
        my $comment = $tag{'comment'};
        foreach my $line (@$comment) {
                chomp($line);
-               print esc_html($line) . "<br/>\n";
+               print esc_html($line, -nbsp=>1) . "<br/>\n";
        }
        print "</div>\n";
        git_footer_html();
This page took 0.30133 seconds and 4 git commands to generate.