Strip ` as well as ' in title tags

This commit is contained in:
Brian O'Donnell
2015-05-28 22:40:52 -04:00
parent cb1e2dff79
commit 892fdb17e8
+1 -1
View File
@@ -239,7 +239,7 @@ sub get_feed_items {
my $title = $item->{'title'};
# strip apostrophes
$title =~ s/'//g;
$title =~ s/('|`)//g;
# split up string on non-alphanumerics
my @parts = split( /([^(\p{Letter}|\p{Number})]|\p{Punctuation})/, $title );