summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/functions.php4
-rw-r--r--include/rssfuncs.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/functions.php b/include/functions.php
index 29f50f876..25c188ee6 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -2674,7 +2674,7 @@
$node = $doc->getElementsByTagName('body')->item(0);
- return $doc->saveXML($node);
+ return $doc->saveXML($node, LIBXML_NOEMPTYTAG);
}
/**
@@ -4965,7 +4965,7 @@
// http://tt-rss.org/forum/viewtopic.php?f=1&t=970
if ($node)
- return $doc->saveXML($node);
+ return $doc->saveXML($node, LIBXML_NOEMPTYTAG);
else
return $html;
}
diff --git a/include/rssfuncs.php b/include/rssfuncs.php
index 03fc068ea..838087d90 100644
--- a/include/rssfuncs.php
+++ b/include/rssfuncs.php
@@ -1355,7 +1355,7 @@
$node = $doc->getElementsByTagName('body')->item(0);
- return $doc->saveXML($node);
+ return $doc->saveXML($node, LIBXML_NOEMPTYTAG);
}
function expire_cached_files($debug) {