From 8ac6f3a29c2cfed637248aa1aaf30c3df07d0ece Mon Sep 17 00:00:00 2001 From: Yung Han Khoe Date: Wed, 21 Jun 2006 09:35:14 +0000 Subject: [PATCH] Fix for tags in RSS feeds. --- lib/WebGUI/Asset/Wobject/SyndicatedContent.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/WebGUI/Asset/Wobject/SyndicatedContent.pm b/lib/WebGUI/Asset/Wobject/SyndicatedContent.pm index cfd4784bc..8e11183cd 100644 --- a/lib/WebGUI/Asset/Wobject/SyndicatedContent.pm +++ b/lib/WebGUI/Asset/Wobject/SyndicatedContent.pm @@ -290,6 +290,9 @@ sub _get_rss_data { } my $xml = $response->content(); + # XML::RSSLite does not handle so: + $xml =~ s//$1/sg; + # Convert encoding if needed / Perl 5.8.0 or up required. if ($] >= 5.008 && $hasEncode) { $xml =~ /<\?xml.*?encoding=['"](\S+)['"]/i;