mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-03 21:39:15 +00:00
add magpie ampersand fix as per forum thread #740
This commit is contained in:
@@ -121,7 +121,9 @@ class MagpieRSS {
|
||||
xml_set_object( $this->parser, $this );
|
||||
xml_set_element_handler($this->parser,
|
||||
'feed_start_element', 'feed_end_element' );
|
||||
|
||||
|
||||
$source = preg_replace("/&(?!amp;)/","&",$source);
|
||||
|
||||
xml_set_character_data_handler( $this->parser, 'feed_cdata' );
|
||||
|
||||
$status = xml_parse( $this->parser, $source );
|
||||
|
||||
Reference in New Issue
Block a user