From: Andrew Dolgov Date: Thu, 27 Dec 2012 15:35:42 +0000 (+0400) Subject: Revert "sanitize: do not use LIBXML_NOEMPTYTAG (refs #522)" X-Git-Tag: 1.7.0~98 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ec6732f460cb471cbce13938c5aff75f5ff34e2c;p=tt-rss.git Revert "sanitize: do not use LIBXML_NOEMPTYTAG (refs #522)" This reverts commit b0ec17ea3cd155475dfaa2c40f46aacbd94654be. --- diff --git a/include/functions.php b/include/functions.php index 89e767e2..9994240c 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2572,7 +2572,7 @@ $node = $doc->getElementsByTagName('body')->item(0); - return $doc->saveXML($node); //LIBXML_NOEMPTYTAG + return $doc->saveXML($node, LIBXML_NOEMPTYTAG); } function check_for_update($link) {