From 54da10933fe905ae287a36576be4d72824d7e604 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Mon, 5 May 2003 05:20:21 +0000 Subject: [PATCH] Getting rid of worthless encoding. --- docs/gotcha.txt | 5 ----- docs/install.txt | 2 +- lib/WebGUI/Wobject/SyndicatedContent.pm | 4 ++-- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/docs/gotcha.txt b/docs/gotcha.txt index 87f257292..98e05c405 100644 --- a/docs/gotcha.txt +++ b/docs/gotcha.txt @@ -20,11 +20,6 @@ save you many hours of grief. sitename = www.mycompany.com -5.2.5 --------------------------------------------------------------------- - * You'll need to upgrade HTML::Parser to at least version 3.27. - - 5.2.0 -------------------------------------------------------------------- * You'll need to add a section to the style sheet of each one of diff --git a/docs/install.txt b/docs/install.txt index 965276ed0..f6a07b4a9 100644 --- a/docs/install.txt +++ b/docs/install.txt @@ -19,7 +19,7 @@ QnD INSTALL INSTRUCTIONS: DBD::mysql Digest::MD5 Date::Calc - HTML::Parser (3.27+) + HTML::Parser Image::Magick (optional) Cache::FileCache (optional) diff --git a/lib/WebGUI/Wobject/SyndicatedContent.pm b/lib/WebGUI/Wobject/SyndicatedContent.pm index 99813b175..b23ce8759 100644 --- a/lib/WebGUI/Wobject/SyndicatedContent.pm +++ b/lib/WebGUI/Wobject/SyndicatedContent.pm @@ -86,8 +86,8 @@ sub www_view { unless (defined $rssFile) { $rssFile = $cache->setByHTTP($_[0]->get("rssUrl"),3600); } - $rssFile =~ s#()(.*?)()#$1.HTML::Entities::encode_entities_numeric(decode_entities($2)).$3#ges; - $rssFile =~ s#()(.*?)()#$1.HTML::Entities::encode_entities_numeric(decode_entities($2)).$3#ges; + $rssFile =~ s#()(.*?)()#$1.HTML::Entities::encode_entities(decode_entities($2)).$3#ges; + $rssFile =~ s#()(.*?)()#$1.HTML::Entities::encode_entities(decode_entities($2)).$3#ges; eval{parseRSS(\%rss, \$rssFile)}; if ($@) { WebGUI::ErrorHandler::warn($_[0]->get("rssUrl")." ".$@);