[imp] HTML to plain text formatting
Oscar del Rio
delrio at mie.utoronto.ca
Wed Nov 7 13:16:14 UTC 2012
On 07/11/2012 12:08 AM, Michael M Slusarz wrote:
> Quoting Oscar del Rio <delrio at mie.utoronto.ca>:
>
>> While testing HTML composing of emails I noticed some problems in the
>> text/plain conversion.
>>
>> Example: Compose HTML email mixing normal text with bold, italics, etc.
>> Normal Strong Normal Italics Normal Underline Normal Strike Normal
>>
>> The text/html part is as expected:
>> Normal <strong>Strong</strong> Normal <em>Italics</em> Normal
>> <u>Underline</u> Normal <strike>Strike</strike> Normal
>>
>> But the text/plain part seems to have conversion problems (words are
>> joined):
>> Normal STRONGNormal /Italics/Normal _Underline_Normal StrikeNormal
>>
>> Is this a bug in IMP or some other PHP library problem?
>
> I can't reproduce with IMP 6. And this testcase passes just fine:
>
> http://git.horde.org/horde-git/-/commit/4ec7d98e8fc68bdea1332e0a6391e26d61047ddd
>
>
Thanks for checking. It might be some system library.
I get the same result (words joined) with IMP 5 and IMP 6 on virtual
machines of the same Solaris host.
Solaris 11.1, apache 2.2.22, php 5.3.14, mysql 5.1.37
I will do some debugging. Your testcase gives me some starting point.
Thanks again.
Oscar
More information about the imp
mailing list