Fixed for me. I need to manual change a line in the coding:
So I found the issue today. Your html has something like this in it:
Hello Jared,
which htmLawed (our HTML scrubber) will rewrite to this
Hello Jared,
The issue is the font element. It was written for HTML 3.2, deprecated as of HTML 4.01. It is an inline element which is upgraded to the HTML 4.01 inline element . Then, the inline element has embedded elements which are block elements. Acccording to the HTML 4.01 dtd, %inline elements are not allowed to contain %block elements. Therefore htmLawed converts the nested elements to inline equivalents, , and thereby munges the whitespace.
So the root of the issue is this line, I think:
converted from rtf
Even in the year 2010 M$ is still generating improper HTML — elements were never supported inside of elements. (HTML 4.01 was adopted in 1999.) Perhaps another fix would be to support RTF directly, but it doesn't seem like your email has RTF in it.
@[deleted] Is there any other way you know of to get proper HTML out of Outlook?
PS if you want to modify your installation directly and circumvent the issue, see include/htmLawed.php, line 637 (or about), and change
$e = 'span'; return ltrim($a2);
to
$e = 'div'; return ltrim($a2);