Don't wrap html2text output when viewing
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 4 Mar 2010 17:54:32 +0000 (10:54 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 4 Mar 2010 19:21:35 +0000 (12:21 -0700)
imp/lib/Mime/Viewer/Html.php

index 35511a9..8c96231 100644 (file)
@@ -179,7 +179,7 @@ class IMP_Horde_Mime_Viewer_Html extends Horde_Mime_Viewer_Html
          * text. */
         if (($_SESSION['imp']['view'] == 'mimp') ||
             (!$inline && Horde_Util::getFormData('convert_text'))) {
-            $data = Horde_Text_Filter::filter($data, 'html2text', array('charset' => Horde_Nls::getCharset()));
+            $data = Horde_Text_Filter::filter($data, 'html2text', array('charset' => Horde_Nls::getCharset(), 'wrap' => false));
 
             // Filter bad language.
             return array(