gitweb: Replace SPC with   also in tag comment
authorJakub Narebski <jnareb@gmail.com>
Fri, 24 Nov 2006 21:25:50 +0000 (22:25 +0100)
committerJunio C Hamano <junkio@cox.net>
Fri, 24 Nov 2006 22:01:23 +0000 (14:01 -0800)
Commit messages had SPC replaced with &nbsp; entity;
make it so also in tag message (tag comment).

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl

index ce185d9..75e3502 100755 (executable)
@@ -2919,7 +2919,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();