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