Mailer.php
authoredward <edward@roojs.com>
Mon, 26 Mar 2018 08:35:32 +0000 (16:35 +0800)
committeredward <edward@roojs.com>
Mon, 26 Mar 2018 08:35:32 +0000 (16:35 +0800)
Mailer.php

index 86f392f..48f7b77 100644 (file)
@@ -459,7 +459,7 @@ class Pman_Core_Mailer {
         
         $dom = new DOMDocument();
         
-        @$dom->loadHTML('<?xml encoding="UTF-8">' .$html);
+        @$dom->loadHTML($html);
         
         $html = $dom->getElementsByTagName('html');
         $head = $dom->getElementsByTagName('head');