mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-04 10:19:15 +00:00
better correction of wrong ampersands in Magpie (2)
This commit is contained in:
@@ -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' );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user