More cleanup from merge.

This commit is contained in:
Colin Kuskie 2010-08-24 15:27:02 -07:00
parent f39a13912e
commit a5a5e0a7d4

View file

@ -172,7 +172,7 @@ sub generateFeed {
# if the content can be downgraded, it is either valid latin1 or didn't have
# an HTTP Content-Encoding header. In the second case, XML::FeedPP will take
# care of any encoding specified in the XML prolog
utf8::downgrade($value, 1) ? 1 : 0;
utf8::downgrade($value, 1);
eval {
my $singleFeed = XML::FeedPP->new($value, utf8_flag => 1, -type => 'string', xml_deref => 1, @opt);
$feed->merge_channel($singleFeed);