diff --git a/include/functions.php b/include/functions.php
index 89e767e2ce872f861836df406404bdcb9fbd7520..9994240c61325987af0b4e72d9d02ac3600ba680 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) {