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

This commit is contained in:
Andrew Dolgov 2012-02-21 12:16:29 +04:00
parent ba213fe5f0
commit 7b8ff151ed
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -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) {