summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Maischein <corion@cpan.org>2013-07-26 07:42:56 +0200
committerdakkar <dakkar@thenautilus.net>2013-07-31 20:21:24 +0100
commit689deb26fb738753a29b9acfcb2d21ab735029d6 (patch)
tree721d2ccbc287fe71c18a0764fece967670540707
parentAdd Makefile.PL for convenient bundling of prerequisites (diff)
downloadfeeder-689deb26fb738753a29b9acfcb2d21ab735029d6.tar.gz
feeder-689deb26fb738753a29b9acfcb2d21ab735029d6.tar.bz2
feeder-689deb26fb738753a29b9acfcb2d21ab735029d6.zip
Crude fix to be more lenient in what we output.
-rw-r--r--lib/Feed/Role/ContentOnly.pm2
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 );