aboutsummaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorJakub Narebski <jnareb@gmail.com>2006-11-24 22:25:50 +0100
committerJunio C Hamano <junkio@cox.net>2006-11-24 14:01:23 -0800
commit793c400cc1028cca4078281d69aa43fac2d6d0ba (patch)
tree269f033a399467ff82a86c6c65625087c07fa3a6 /gitweb
parent634b8d05142a4812bf35fe8b14cc62c84494c78f (diff)
downloadgit-793c400cc1028cca4078281d69aa43fac2d6d0ba.tar.gz
git-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 ce185d903..75e3502fe 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();