mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 00:05: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:
@@ -113,7 +113,7 @@ class Af_RedditImgur extends Plugin {
|
||||
$node = $doc->getElementsByTagName('body')->item(0);
|
||||
|
||||
if ($node && $found) {
|
||||
$article["content"] = $doc->saveXML($node, LIBXML_NOEMPTYTAG);
|
||||
$article["content"] = $doc->saveXML($node);
|
||||
if (!$force) $article["plugin_data"] = "redditimgur,$owner_uid:" . $article["plugin_data"];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user