From 7cc1e4aed841c4ef3c197deaa3eb9844bce62c5d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 1 Dec 2008 06:23:01 +0100 Subject: magpie, simplepie: add (experimental) patches for broken libxml --- magpierss/rss_parse.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'magpierss/rss_parse.inc') diff --git a/magpierss/rss_parse.inc b/magpierss/rss_parse.inc index 3aff57a50..011048310 100644 --- a/magpierss/rss_parse.inc +++ b/magpierss/rss_parse.inc @@ -159,6 +159,10 @@ class MagpieRSS { 'feed_start_element', 'feed_end_element' ); xml_set_character_data_handler( $this->parser, 'feed_cdata' ); + + $source=str_replace("<","<",$source); + $source=str_replace(">",">",$source); + $source=str_replace("&","&",$source); $status = xml_parse( $this->parser, $source ); -- cgit v1.2.3