Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Remove characters entities entirely when shortening string -- correction
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>
gitweb/gitweb.cgi
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
822c185
)
diff --git
a/gitweb/gitweb.cgi
b/gitweb/gitweb.cgi
index 73d14ffb100a62af275db3cb4791691d12f0b255..0953b8cd564dd8243d76ad9443c1dd51ebc37c18 100755
(executable)
--- a/
gitweb/gitweb.cgi
+++ b/
gitweb/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";
}