Skip to content

Commit

Permalink
Less strict handling of HTML links.
Browse files Browse the repository at this point in the history
  • Loading branch information
msparks committed Jan 27, 2009
1 parent 78b60ea commit 17a1a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bitlbee_html.pl
Expand Up @@ -127,7 +127,7 @@ sub html2irc
s/<\/font>//ig;
s/<\/?body.*?>//isg;
s/<\/?html>//ig;
s/<a href="(.+?)">(.*?)<\/a>/handle_link($1,$2)/iesg;
s/<a .*?href="(.+?)".*?>(.*?)<\/a>/handle_link($1,$2)/iesg;

# note for <b>,<i>, and <u>, these are encapsulating tags, and they _may_
# contain newlines. This script will split by newlines and emit message
Expand Down

0 comments on commit 17a1a97

Please sign in to comment.