{"thread":{"id":"43754","subject":"[PATCH] gitweb: Replace SPC with &nbsp; also in tag comment","startedAt":"2006-11-24T21:25:50Z","lastAt":"2006-11-24T21:25:50Z","messageCount":1,"participants":["Jakub Narebski"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"297974","messageId":"11644035504182-git-send-email-jnareb@gmail.com","threadId":"43754","inReplyTo":null,"subject":"[PATCH] gitweb: Replace SPC with &nbsp; also in tag comment","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2006-11-24T21:25:50Z","receivedAt":"2006-11-24T21:25:50Z","isPatch":true,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Commit messages had SPC replaced with &nbsp; entity;\nmake it so also in tag message (tag comment).\n\nSigned-off-by: Jakub Narebski <jnareb@gmail.com>\n---\n gitweb/gitweb.perl |    4 ++--\n 1 files changed, 2 insertions(+), 2 deletions(-)\n\ndiff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl\nindex 53214b0..f06cd3e 100755\n--- a/gitweb/gitweb.perl\n+++ b/gitweb/gitweb.perl\n@@ -2924,8 +2924,8 @@ sub git_tag {\n \tprint \"<div class=\\\"page_body\\\">\";\n \tmy $comment = $tag{'comment'};\n \tforeach my $line (@$comment) {\n-\t\tchomp($line);\n-\t\tprint esc_html($line) . \"<br/>\\n\";\n+\t\tchomp $line;\n+\t\tprint esc_html($line, -nbsp=>1) . \"<br/>\\n\";\n \t}\n \tprint \"</div>\\n\";\n \tgit_footer_html();\n-- \n1.4.4.1\n"}]}