Correctly identify charset of HTML data
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 7 Jul 2009 19:57:28 +0000 (13:57 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 7 Jul 2009 19:57:28 +0000 (13:57 -0600)
imp/lib/Mime/Viewer/Html.php

index ddb4bd8..9fe00ca 100644 (file)
@@ -117,7 +117,7 @@ class IMP_Horde_Mime_Viewer_Html extends Horde_Mime_Viewer_Html
         }
 
         /* Sanitize the HTML. */
-        $cleanhtml = $this->_cleanHTML($data, $inline);
+        $cleanhtml = $this->_cleanHTML($data, $inline, $msg_charset);
         $data = $cleanhtml['html'];
 
         /* We are done processing if in mimp mode. */