More cleanup from merge.
This commit is contained in:
parent
f39a13912e
commit
a5a5e0a7d4
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ sub generateFeed {
|
||||||
# if the content can be downgraded, it is either valid latin1 or didn't have
|
# 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
|
# an HTTP Content-Encoding header. In the second case, XML::FeedPP will take
|
||||||
# care of any encoding specified in the XML prolog
|
# care of any encoding specified in the XML prolog
|
||||||
utf8::downgrade($value, 1) ? 1 : 0;
|
utf8::downgrade($value, 1);
|
||||||
eval {
|
eval {
|
||||||
my $singleFeed = XML::FeedPP->new($value, utf8_flag => 1, -type => 'string', xml_deref => 1, @opt);
|
my $singleFeed = XML::FeedPP->new($value, utf8_flag => 1, -type => 'string', xml_deref => 1, @opt);
|
||||||
$feed->merge_channel($singleFeed);
|
$feed->merge_channel($singleFeed);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue