fix various tags being stuck because of invalid HTML markup being generated (closes #357)

master
Andrew Dolgov 13 years ago
parent ba213fe5f0
commit 7b8ff151ed

@ -2674,7 +2674,7 @@
$node = $doc->getElementsByTagName('body')->item(0); $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 // http://tt-rss.org/forum/viewtopic.php?f=1&t=970
if ($node) if ($node)
return $doc->saveXML($node); return $doc->saveXML($node, LIBXML_NOEMPTYTAG);
else else
return $html; return $html;
} }

@ -1355,7 +1355,7 @@
$node = $doc->getElementsByTagName('body')->item(0); $node = $doc->getElementsByTagName('body')->item(0);
return $doc->saveXML($node); return $doc->saveXML($node, LIBXML_NOEMPTYTAG);
} }
function expire_cached_files($debug) { function expire_cached_files($debug) {

Loading…
Cancel
Save