Revert "The encode filter doesn't use this parameter (it probably should)"
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 8 Sep 2009 21:32:36 +0000 (15:32 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 11 Sep 2009 20:29:11 +0000 (14:29 -0600)
This reverts commit 6fea0fc8cd5aebbde1e28a3775242ee913a90a34.

According to Jan, PHP really does use this param even though it is not
documented.

framework/Mime/lib/Horde/Mime/Part.php

index 5a7fbb1..8215baf 100644 (file)
@@ -460,7 +460,7 @@ class Horde_Mime_Part
 
         case 'quoted-printable':
             /* Quoted-Printable Encoding: See RFC 2045, section 6.7 */
-            return $this->_writeStream($fp, array('filter' => 'convert.quoted-printable-encode'));
+            return $this->_writeStream($fp, array('filter' => 'convert.quoted-printable-encode', 'params' => array('line-break-chars' => $this->getEOL())));
 
         default:
             $this->_temp['transferEncodeClose'] = false;