Skip to contentSkip to conversation

gitweb: Replace SPC with   also in tag comment

PATCH New Jakub Narebski 1 participant 1 message Aug 11, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gitweb: Replace SPC with   also in tag comment

Commit messages had SPC replaced with   entity; make it so also in tag message (tag comment).

---
 gitweb/gitweb.perl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
gitweb/gitweb.perl +2 -2
index 53214b0..f06cd3e 100755
@@ -2924,8 +2924,8 @@ sub git_tag {
 	print "<div class=\"page_body\">";
 	my $comment = $tag{'comment'};
 	foreach my $line (@$comment) {
-		chomp($line);
-		print esc_html($line) . "<br/>\n";
+		chomp $line;
+		print esc_html($line, -nbsp=>1) . "<br/>\n";
 	}
 	print "</div>\n";
 	git_footer_html();
Signature · 1 line
1.4.4.1