From: Jakub Narebski Date: Fri, 24 Nov 2006 21:25:50 +0000 (+0100) Subject: gitweb: Replace SPC with   also in tag comment X-Git-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/d849969feec9d6a6d2a44e8403657edc73026ace3d5a08fb14f5ebab6b04c1b4 gitweb: Replace SPC with   also in tag comment Commit messages had SPC replaced with   entity; make it so also in tag message (tag comment). Signed-off-by: Jakub Narebski Signed-off-by: Junio C Hamano --- diff --git a/gitweb.perl b/gitweb.perl index 8c5ea1a..a7dbdaa 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -2920,7 +2920,7 @@ sub git_tag { my $comment = $tag{'comment'}; foreach my $line (@$comment) { chomp($line); - print esc_html($line) . "
\n"; + print esc_html($line, -nbsp=>1) . "
\n"; } print "\n"; git_footer_html();