]> git.wh0rd.org Git - tt-rss.git/commitdiff
Revert "sanitize: do not use LIBXML_NOEMPTYTAG (refs #522)"
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 27 Dec 2012 15:35:42 +0000 (19:35 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 27 Dec 2012 15:35:42 +0000 (19:35 +0400)
This reverts commit b0ec17ea3cd155475dfaa2c40f46aacbd94654be.

include/functions.php

index 89e767e2ce872f861836df406404bdcb9fbd7520..9994240c61325987af0b4e72d9d02ac3600ba680 100644 (file)
 
                $node = $doc->getElementsByTagName('body')->item(0);
 
-               return $doc->saveXML($node); //LIBXML_NOEMPTYTAG
+               return $doc->saveXML($node, LIBXML_NOEMPTYTAG);
        }
 
        function check_for_update($link) {