mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 05:25:56 +00:00
sanitize: mention why LIBXML_NOEMPTYTAG is used
This commit is contained in:
@@ -4723,6 +4723,7 @@
|
|||||||
$node = $doc->getElementsByTagName('body')->item(0);
|
$node = $doc->getElementsByTagName('body')->item(0);
|
||||||
|
|
||||||
// http://tt-rss.org/forum/viewtopic.php?f=1&t=970
|
// http://tt-rss.org/forum/viewtopic.php?f=1&t=970
|
||||||
|
// http://tt-rss.org/redmine/issues/357
|
||||||
if ($node)
|
if ($node)
|
||||||
return $doc->saveXML($node, LIBXML_NOEMPTYTAG);
|
return $doc->saveXML($node, LIBXML_NOEMPTYTAG);
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user