1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 06:45:56 +00:00

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
This commit is contained in:
Andrew Dolgov
2013-03-16 16:07:11 +04:00
parent ef1162593f
commit cc38c8e549
7 changed files with 9 additions and 21 deletions

View File

@@ -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;
}