X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/fb4c43401e44882910a3e75d3f155107f5c6f6406dd43b098a9e3873f5c4e1b7..8a2c1bb881a01c249edc3f06895500746d7934026d73494623ca2ba24f23db9d:/gitweb.cgi diff --git a/gitweb.cgi b/gitweb.cgi index e61f681..5d03a9e 100755 --- a/gitweb.cgi +++ b/gitweb.cgi @@ -776,7 +776,7 @@ sub chop_str { my $tail = $2; if (length($tail) > 4) { $tail = " ..."; - $body =~ s/&[^;]$//; # remove chopped character entities + $body =~ s/&[^;]*$//; # remove chopped character entities } return "$body$tail"; }