summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-12-27 19:35:42 +0400
committerAndrew Dolgov <[email protected]>2012-12-27 19:35:42 +0400
commitec6732f460cb471cbce13938c5aff75f5ff34e2c (patch)
treeafbc80e8bda4accf8e845cbb3041dfb6eb17a957 /include/functions.php
parent5d9abb1e11262b5ef7c6f4695590ce5bdb257b85 (diff)
Revert "sanitize: do not use LIBXML_NOEMPTYTAG (refs #522)"
This reverts commit b0ec17ea3cd155475dfaa2c40f46aacbd94654be.
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index 89e767e2c..9994240c6 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) {