summaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorLibravatar Jakub Narebski <jnareb@gmail.com>2006-11-24 22:25:50 +0100
committerLibravatar Junio C Hamano <junkio@cox.net>2006-11-24 14:01:23 -0800
commit793c400cc1028cca4078281d69aa43fac2d6d0ba (patch)
tree269f033a399467ff82a86c6c65625087c07fa3a6 /gitweb
parentMerge branch 'jn/web' (diff)
downloadtgif-793c400cc1028cca4078281d69aa43fac2d6d0ba.tar.xz
gitweb: Replace SPC with &nbsp; also in tag comment
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>
Diffstat (limited to 'gitweb')
-rwxr-xr-xgitweb/gitweb.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index ce185d9037..75e3502fe8 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -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();