summaryrefslogtreecommitdiff
path: root/magpierss
diff options
context:
space:
mode:
Diffstat (limited to 'magpierss')
-rw-r--r--magpierss/rss_parse.inc4
1 files changed, 4 insertions, 0 deletions
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 );