From 1a57ad3e16e1a3e92b0f087ba1765c9089c48577 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 25 Sep 2009 11:10:37 -0600 Subject: [PATCH] Correctly show phishing highlighting when viewing inline --- imp/lib/Mime/Viewer/Html.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/imp/lib/Mime/Viewer/Html.php b/imp/lib/Mime/Viewer/Html.php index 74696c2de..680064e2e 100644 --- a/imp/lib/Mime/Viewer/Html.php +++ b/imp/lib/Mime/Viewer/Html.php @@ -185,10 +185,9 @@ class IMP_Horde_Mime_Viewer_Html extends Horde_Mime_Viewer_Html { $data = $this->_mimepart->getContents(); $charset = Horde_Nls::getCharset(); - $msg_charset = $this->_mimepart->getCharset(); /* Sanitize the HTML. */ - $data = $this->_cleanHTML($data, array('charset' => $msg_charset)); + $data = $this->_cleanHTML($data, array('phishing' => $inline)); /* We are done processing if in mimp mode, or we are converting to * text. */ -- 2.11.0