From 689deb26fb738753a29b9acfcb2d21ab735029d6 Mon Sep 17 00:00:00 2001 From: Max Maischein Date: Fri, 26 Jul 2013 07:42:56 +0200 Subject: Crude fix to be more lenient in what we output. --- lib/Feed/Role/ContentOnly.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- cgit v1.2.3