mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-07 14:43:45 -04:00
Bug warning in case of invalid CDATA
This commit is contained in:
@@ -142,7 +142,7 @@ class SimplePie_Parser
|
||||
$dom = new DOMDocument();
|
||||
$dom->recover = true;
|
||||
$dom->strictErrorChecking = false;
|
||||
$dom->loadXML($data);
|
||||
@$dom->loadXML($data);
|
||||
$this->encoding = $encoding = $dom->encoding = 'UTF-8';
|
||||
$data2 = $dom->saveXML();
|
||||
if (function_exists('mb_convert_encoding'))
|
||||
|
||||
Reference in New Issue
Block a user