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 ce185d9037e3e53bca3dd2ce0d960e6e2eb5a4a0..75e3502fe8b67b015680a87723f8cae8d9d957e8 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();