diff options
author | moritz <moritz@c213334d-75ef-0310-aa23-eaa082d1ae64> | 2009-09-16 08:27:53 (GMT) |
---|---|---|
committer | moritz <moritz@c213334d-75ef-0310-aa23-eaa082d1ae64> | 2009-09-16 08:27:53 (GMT) |
commit | 20e2f39b9553b096ba50cd069ab6eb0bb9a673e1 (patch) | |
tree | deaf6700328abe5d59f4a09fa13b1893e2f57c5c | |
parent | ba9afce8c7584ed952ee9212232c861593a65f9a (diff) |
[irclog] there are more characters allowed in URL anchors than I previously thought. masak++
git-svn-id: http://svn.pugscode.org/pugs/misc/irclog@28249 c213334d-75ef-0310-aa23-eaa082d1ae64
-rw-r--r-- | lib/IrcLog/WWW.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/IrcLog/WWW.pm b/lib/IrcLog/WWW.pm index 2772015..4a70741 100644 --- a/lib/IrcLog/WWW.pm +++ b/lib/IrcLog/WWW.pm @@ -356,7 +356,7 @@ my %output_chain = ( # trailing punctuation like http://foo.com/, is not included # in the link. This means that not all valid URLs are recognized # in full, but that's an acceptable tradeoff - re => qr/$uri_regexp(?:#[\w_%:-]+)?(?<![.,])/, + re => qr{$uri_regexp(?:#[\w_%:/!*+?;&=-]+)?(?<![.,])}, match => \&linkify, rest => 'synopsis_links', }, @@ -539,9 +539,9 @@ NICK: foreach (@$colors){ else { # To ensure successive lines from same nick are displayed, we want # both these classes on every non-special <tr> - push @classes, ( "nick", "nick_".sanitize_nick($nick) ); + push @classes, ( "nick", "nick_".sanitize_nick($nick) ); } - + if ($$c % 2){ push @classes, "dark"; } |