diff options
author | Max Maischein <corion@cpan.org> | 2013-07-26 07:42:56 +0200 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2013-07-31 20:21:24 +0100 |
commit | 689deb26fb738753a29b9acfcb2d21ab735029d6 (patch) | |
tree | 721d2ccbc287fe71c18a0764fece967670540707 /lib | |
parent | Add Makefile.PL for convenient bundling of prerequisites (diff) | |
download | feeder-689deb26fb738753a29b9acfcb2d21ab735029d6.tar.gz feeder-689deb26fb738753a29b9acfcb2d21ab735029d6.tar.bz2 feeder-689deb26fb738753a29b9acfcb2d21ab735029d6.zip |
Crude fix to be more lenient in what we output.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Feed/Role/ContentOnly.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Feed/Role/ContentOnly.pm b/lib/Feed/Role/ContentOnly.pm index 1bc524f..2513742 100644 --- a/lib/Feed/Role/ContentOnly.pm +++ b/lib/Feed/Role/ContentOnly.pm @@ -38,7 +38,7 @@ around extract_entries => sub { if( $html ) { my $c= XML::Feed::Content->wrap({ type => 'text/html', - body => extract_main_html( $html ), + body => extract_main_html( $html, output_type => 'html' ), base => $entry->content->base, }); $entry->content( $c ); |