1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:15:55 +00:00

sanitize: mention why LIBXML_NOEMPTYTAG is used

This commit is contained in:
Andrew Dolgov
2012-12-27 19:36:22 +04:00
parent ec6732f460
commit 2a3b7f25fc

View File

@@ -4723,6 +4723,7 @@
$node = $doc->getElementsByTagName('body')->item(0);
// http://tt-rss.org/forum/viewtopic.php?f=1&t=970
// http://tt-rss.org/redmine/issues/357
if ($node)
return $doc->saveXML($node, LIBXML_NOEMPTYTAG);
else