]> Lady’s Gitweb - Gitweb/blobdiff - gitweb.cgi
gitweb: Remove characters entities entirely when shortening string -- correction
[Gitweb] / gitweb.cgi
index e61f68146d02869d9b36e1ec37d54810eb86e840db0ec177c4f622f9cacedadf..5d03a9eb62daf909e71d2f35f9e3bef65cf0548ecbf1cdbd52345b2a7828b2ed 100755 (executable)
@@ -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";
 }
This page took 0.150627 seconds and 4 git commands to generate.