From cc38c8e5497a8a86c3cc23f4f9e279a412c57727 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 16 Mar 2013 16:07:11 +0400 Subject: remove LIBXML_NOEMPTYTAG because of double
s - the #357 issue with htmlpurifier might not be relevant anymore because of htmLawed switch, but
s are annoying --- plugins/af_redditimgur/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/af_redditimgur/init.php') diff --git a/plugins/af_redditimgur/init.php b/plugins/af_redditimgur/init.php index b2bc975e2..2bb44f6d3 100644 --- a/plugins/af_redditimgur/init.php +++ b/plugins/af_redditimgur/init.php @@ -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"]; } } -- cgit v1.2.3