better correction of wrong ampersands in Magpie (2)
This commit is contained in:
parent
59d6a586fd
commit
8fd55df16f
1 changed files with 1 additions and 1 deletions
|
@ -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' );
|
||||
|
||||
|
|
Loading…
Reference in a new issue