fix various tags being stuck because of invalid HTML markup being generated (closes #357)
This commit is contained in:
parent
ba213fe5f0
commit
7b8ff151ed
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue