diff options
-rwxr-xr-x | plugins/af_redditimgur/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/af_redditimgur/init.php b/plugins/af_redditimgur/init.php index e43846abf..7ab07b900 100755 --- a/plugins/af_redditimgur/init.php +++ b/plugins/af_redditimgur/init.php @@ -106,7 +106,7 @@ class Af_RedditImgur extends Plugin { if ($oembed_result && isset($oembed_result["html"])) { $tmp = new DOMDocument(); - if ($tmp->loadHTML($oembed_result["html"])) { + if ($tmp->loadHTML('<?xml encoding="utf-8" ?>' . $oembed_result["html"])) { $p = $doc->createElement("p"); $p->appendChild($doc->importNode( |