From 52a5cdfd0d708b6021d34f0158ed83f09b9b01d1 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Mon, 17 Mar 2003 01:35:36 +0000 Subject: [PATCH] fixed bug 691414 --- lib/WebGUI/Wobject/SyndicatedContent.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/WebGUI/Wobject/SyndicatedContent.pm b/lib/WebGUI/Wobject/SyndicatedContent.pm index dc854e1cf..c66b43383 100644 --- a/lib/WebGUI/Wobject/SyndicatedContent.pm +++ b/lib/WebGUI/Wobject/SyndicatedContent.pm @@ -10,6 +10,7 @@ package WebGUI::Wobject::SyndicatedContent; # http://www.plainblack.com info@plainblack.com #------------------------------------------------------------------- +use HTML::Entities; use strict; use Tie::CPHash; use WebGUI::Cache; @@ -85,6 +86,7 @@ sub www_view { unless (defined $rssFile) { $rssFile = $cache->setByHTTP($_[0]->get("rssUrl"),3600); } + $rssFile =~ s#()(.*?)()#$1.encode_entities($2).$3#ges; eval{parseXML(\%rss, \$rssFile)}; if ($@) { WebGUI::ErrorHandler::warn($_[0]->get("rssUrl")." ".$@);