From: Michael M Slusarz Date: Wed, 10 Feb 2010 20:21:22 +0000 (-0700) Subject: Don't wrap HTML->Text reply data X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=c5e890b42f760168f8a43a0d7d9c836082a34b7a;p=horde.git Don't wrap HTML->Text reply data --- diff --git a/imp/compose.php b/imp/compose.php index 78a2e5393..a032c7c1f 100644 --- a/imp/compose.php +++ b/imp/compose.php @@ -626,7 +626,7 @@ if (!is_null($oldrtemode) && ($oldrtemode != $rtemode)) { array('

 

', '

' . $imp_compose->text2html($sig) . '

'), $msg); } else { - $msg = Horde_Text_Filter::filter($msg, 'html2text', array('charset' => $charset)); + $msg = Horde_Text_Filter::filter($msg, 'html2text', array('charset' => $charset, 'wrap' => false)); } } diff --git a/imp/lib/Ajax/Application.php b/imp/lib/Ajax/Application.php index 16249eaa4..600582c62 100644 --- a/imp/lib/Ajax/Application.php +++ b/imp/lib/Ajax/Application.php @@ -896,7 +896,7 @@ class IMP_Ajax_Application extends Horde_Ajax_Application_Base $result = new stdClass; // Need to replace line endings or else IE won't display line endings // properly. - $result->text = str_replace("\n", "\r\n", Horde_Text_Filter::filter($vars->text, 'html2text', array('charset' => Horde_Nls::getCharset()))); + $result->text = str_replace("\n", "\r\n", Horde_Text_Filter::filter($vars->text, 'html2text', array('charset' => Horde_Nls::getCharset(), 'wrap' => false))); return $result; }