Why does it mean we do not have to register shallow if we have one?
[gitweb.git] / gitweb / gitweb.perl
index ce185d9037e3e53bca3dd2ce0d960e6e2eb5a4a0..6ae7e80351d597d21f474e72083c83b93ea45bbf 100755 (executable)
@@ -2918,8 +2918,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();
@@ -2988,7 +2988,7 @@ sub git_blame2 {
                        }
                }
                my $data = $_;
-               chomp($data);
+               chomp $data;
                my $rev = substr($full_rev, 0, 8);
                my $author = $meta->{'author'};
                my %date = parse_date($meta->{'author-time'},