Mailer.php
authorAlan Knowles <alan@roojs.com>
Fri, 21 Nov 2014 09:17:41 +0000 (17:17 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 21 Nov 2014 09:17:41 +0000 (17:17 +0800)
Mailer.php

index 719675f..d473f36 100644 (file)
@@ -354,7 +354,9 @@ class Pman_Core_Mailer {
     }
     function htmlbodyCssEmbed($html)
     {
+        $ff = HTML_FlexyFramework::get();
         $dom = new DOMDocument();
+        
         // this may raise parse errors as some html may be a component..
         @$dom->loadHTML('<?xml encoding="UTF-8">' .$html);
         $links = $dom->getElementsByTagName('link');