[imp] Mail.app mail forwarding issue w/ 4.2RC3 / HEAD

Michael M Slusarz slusarz at horde.org
Fri Apr 4 18:56:55 UTC 2008


Quoting Chuck Hagenbuch <chuck at horde.org>:

> Quoting Liam Hoekenga <liamr at umich.edu>:
>
>> We think we found out why it's doing it, and we're submitting a bug  
>> to Apple.
>>
>> In addition to the normal HTML open and close tags around the message
>> body, it also puts HTML open and close tags around the string "Begin
>> forwarded message:".  E.g.
>>
>> <html><body style="word-wrap: break-word; -webkit-nbsp-mode: space;
>> -webkit-line-break: after-white-space; ">test<br><div><br><html>Begin
>> forwarded message:</html>
>>
>> and this makes IMP sad.
>>
>> Could (should?) IMP compensate for it?
>
> Well, there's no way to validly show multiple bodies inside another
> bodies - iframes I guess. Are you using tidy? If so, does that cause
> the problem, or help it? I could see tidy either causing this or
> clearing it up.

Actually, I'm pretty sure that our HTML filter (specifically the preg  
regex I just fixed a week or two ago) will prevent this message from  
ever showing fully because it will purge all text after the 1st  
closing html tag.  IIRC, I think tidy is set to ignore duplicate body  
tags with the understanding that the html filter will catch those  
later in the filtering process.

michael

-- 
___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the imp mailing list