diff options
author | Andrew Dolgov <[email protected]> | 2012-02-21 12:16:29 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-02-21 12:16:29 +0400 |
commit | 7b8ff151ed3d36214156906805e7e6327f59793c (patch) | |
tree | ec9e814128406ae6f1eb7cca475c176e3e1d2803 /include/functions.php | |
parent | ba213fe5f05579f70d54c2a757e6571ed5fb0a9e (diff) |
fix various tags being stuck because of invalid HTML markup being generated (closes #357)
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions.php b/include/functions.php index 29f50f876..25c188ee6 100644 --- a/include/functions.php +++ b/include/functions.php @@ -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; } |