summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 822c185)
raw | patch | inline | side by side (parent: 822c185)
author | Jakub Narebski <jnareb@gmail.com> | |
Mon, 31 Jul 2006 18:58:00 +0000 (20:58 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 31 Jul 2006 19:08:41 +0000 (12:08 -0700) |
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.cgi | patch | blob | history |
diff --git a/gitweb/gitweb.cgi b/gitweb/gitweb.cgi
index 73d14ffb100a62af275db3cb4791691d12f0b255..0953b8cd564dd8243d76ad9443c1dd51ebc37c18 100755 (executable)
--- a/gitweb/gitweb.cgi
+++ b/gitweb/gitweb.cgi
my $tail = $2;
if (length($tail) > 4) {
$tail = " ...";
- $body =~ s/&[^;]$//; # remove chopped character entities
+ $body =~ s/&[^;]*$//; # remove chopped character entities
}
return "$body$tail";
}