diff options
Diffstat (limited to 'rhimport-fw')
-rwxr-xr-x | rhimport-fw | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rhimport-fw b/rhimport-fw index 009a137..f8c6694 100755 --- a/rhimport-fw +++ b/rhimport-fw @@ -31,6 +31,7 @@ use XML::Feed::Enclosure; use File::Fetch; use IO::Handle; use IPC::Open3; +use HTML::Entities; use lib '/usr/local/share/rhimport/'; use rhimport; @@ -98,8 +99,8 @@ for my $entry ($feed->entries) { if($entry->enclosure && $entry->enclosure->type eq "audio/mpeg") { next unless $entry->enclosure->url =~ /$regexp/; - my $sum_title = $entry->title; - my $sum_text = $entry->content->body; + my $sum_title = decode_entities($entry->title); + my $sum_text = decode_entities($entry->content->body); my $ff = File::Fetch->new(uri => $entry->enclosure->url); my $current_file = `cat $STAT_FILE`; |