summaryrefslogtreecommitdiff
path: root/include/rssfuncs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-16 16:07:11 +0400
committerAndrew Dolgov <[email protected]>2013-03-16 16:07:11 +0400
commitcc38c8e5497a8a86c3cc23f4f9e279a412c57727 (patch)
treebf4182d90fa1b81d6cc0e61500cd0386dbbfe6d9 /include/rssfuncs.php
parentef1162593f6aec45831dd458cec915e35f84bb09 (diff)
remove LIBXML_NOEMPTYTAG because of double <br/>s - the #357 issue with
htmlpurifier might not be relevant anymore because of htmLawed switch, but <br/>s are annoying
Diffstat (limited to 'include/rssfuncs.php')
-rw-r--r--include/rssfuncs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php
index 0b1d06564..feffe0019 100644
--- a/include/rssfuncs.php
+++ b/include/rssfuncs.php
@@ -1082,7 +1082,7 @@
$node = $doc->getElementsByTagName('body')->item(0);
- return $doc->saveXML($node, LIBXML_NOEMPTYTAG);
+ return $doc->saveXML($node);
}
function expire_lock_files($debug) {
@@ -1280,7 +1280,7 @@
$node = $doc->getElementsByTagName('body')->item(0);
if ($node) {
- $content = $doc->saveXML($node, LIBXML_NOEMPTYTAG);
+ $content = $doc->saveXML($node);
return $content;
}