Permalink
Browse files

Fixed a bug in WebTitle.pm

  • Loading branch information...
1 parent 7d7fc6e commit c1be227d5685ebe62cd97d48ad9b61426cd5b796 @tadzik committed May 30, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 a8bot/Plugin/WebTitle.pm
View
2 a8bot/Plugin/WebTitle.pm
@@ -28,7 +28,7 @@ sub pubmsg {
$site = $site->decoded_content;
my ($title) = $site =~ /<title>([^<]+)<\/title>/i;
if ($title) {
- $title =~ s/\n//g;
+ $title =~ s/\s//g;
return encode('utf-8', "[ $title ]");
}
} else {

0 comments on commit c1be227

Please sign in to comment.