1
0
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:
Andrew Dolgov
2010-11-11 09:39:05 +03:00
parent 9d3c031ddf
commit 1f6131f515

View File

@@ -3751,7 +3751,7 @@
}
}
$node = $doc->getElementsByTagName('body')->item(0)->firstChild;
$node = $doc->getElementsByTagName('body')->item(0);
return $doc->saveXML($node);
}