]> git.wh0rd.org Git - tt-rss.git/commitdiff
sanitize: do not use LIBXML_NOEMPTYTAG (refs #522)
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 27 Dec 2012 06:44:34 +0000 (10:44 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 27 Dec 2012 06:44:34 +0000 (10:44 +0400)
include/functions.php

index 9c107c5919ce2f9534378a6ba3f465dc79c80f29..d03fcfb15f0c4efaead5e3a33be17300919894e0 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) {