summaryrefslogtreecommitdiff
path: root/lib/Feed/Role/ContentOnly.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Feed/Role/ContentOnly.pm')
-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 );