[imp] HTML to plain text formatting
Michael M Slusarz
slusarz at horde.org
Wed Nov 7 05:08:15 UTC 2012
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
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the imp
mailing list