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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user