summaryrefslogtreecommitdiff
path: root/magpierss
diff options
context:
space:
mode:
Diffstat (limited to 'magpierss')
-rw-r--r--magpierss/rss_parse.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/magpierss/rss_parse.inc b/magpierss/rss_parse.inc
index b9c92c55a..b7c0ceb57 100644
--- a/magpierss/rss_parse.inc
+++ b/magpierss/rss_parse.inc
@@ -122,7 +122,7 @@ class MagpieRSS {
xml_set_element_handler($this->parser,
'feed_start_element', 'feed_end_element' );
- $source = preg_replace("/&(?![^ ][^ ]+;)/","&",$source);
+ $source = preg_replace("/&(?![^ ][^ ]*;)/","&",$source);
xml_set_character_data_handler( $this->parser, 'feed_cdata' );