From ec6732f460cb471cbce13938c5aff75f5ff34e2c Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.volgo-balt.ru>
Date: Thu, 27 Dec 2012 19:35:42 +0400
Subject: [PATCH] Revert "sanitize: do not use LIBXML_NOEMPTYTAG (refs #522)"

This reverts commit b0ec17ea3cd155475dfaa2c40f46aacbd94654be.
---
 include/functions.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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) {
-- 
GitLab