[Tickets #261] Plain text of HTML email format error

bugs at bugs.horde.org bugs at bugs.horde.org
Tue Jun 8 00:47:16 PDT 2004


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

-Ticket 261
-Queue: IMP
-Added By: faejon at hotmail.com

>From faejon at hotmail.com (Tue Jun  8 00:47:15 2004):
Ok I updated my CVS tree. I got updated versions of the following files :
P framework/Horde/Horde/Config.php
P framework/Text/Text.php
P imp/spelling.php
P imp/templates/compose/spelling.inc

I still get the words running together where the words wrap in the HTML.

I haven't checked your changes yet but I did get it to go away when I made
the change I mentioned last night, below, in _getMessage(). The way I saw it
is that when you apply the word wrapping before in goes into
Text_ConvertHTML it comes out looking like --

The quick brown fox jumped over the lazy\ndog.

then when it gets to Converted from HTML the \n is removed and there is no
white space between words so they run together. That is why I suggested
adding " \n" or whitespace then newline in the word wrap function.

Thank You,
John Goldstein

Subject: Test IE 6
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_6m1my1ngnm9s"
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs

This message is in MIME format.

--=_6m1my1ngnm9s
Content-Type: text/plain; charset="ISO-8859-1"
Content-Description: Plaintext Version of Message
Content-Disposition: inline
Content-Transfer-Encoding: 7bit



	The quick brown fow jumped over thelazy dog.
--=_6m1my1ngnm9s
Content-Type: text/html; charset="ISO-8859-1"
Content-Description: HTML Version of Message
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

<p align="center"><strong><font size="7">The quick brown fow jumped over
the
lazy dog</font></strong>.</p>
--=_6m1my1ngnm9s--





http://bugs.horde.org/details.php?id=261

-- 


More information about the bugs mailing list