mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-30 16:27:10 +00:00
sanitize_rss: fix wrong element being returned after DOMDocument parsing
This commit is contained in:
@@ -3751,7 +3751,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
$node = $doc->getElementsByTagName('body')->item(0)->firstChild;
|
||||
$node = $doc->getElementsByTagName('body')->item(0);
|
||||
|
||||
return $doc->saveXML($node);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user