X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/5423216bb28aeff95edef88f1de7498a7b1bceacb697e8aee1c88240283c0e61..0e80f7b0c8f1245ded3898f0a6884f11b1a85ea9bd43e694f28481eafc8713ac:/gitweb.cgi diff --git a/gitweb.cgi b/gitweb.cgi index fb7d589..ccd1949 100755 --- a/gitweb.cgi +++ b/gitweb.cgi @@ -776,6 +776,7 @@ sub chop_str { my $tail = $2; if (length($tail) > 4) { $tail = " ..."; + $body =~ s/&[^;]$//; # remove chopped character entities } return "$body$tail"; }