[Tickets #2868] NEW: Malformed HTML in mail preview

bugs@bugs.horde.org bugs at bugs.horde.org
Wed Oct 26 12:13:12 PDT 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=2868
-----------------------------------------------------------------------
 Ticket             | 2868
 Created By         | tevans at tachometry.com
 Summary            | Malformed HTML in mail preview
 Queue              | IMP
 Version            | HEAD
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
+New Attachment     | imp_preview_malformed_tag.txt
-----------------------------------------------------------------------


tevans at tachometry.com (2005-10-26 12:13) wrote:

The mail preview feature is generating malformed HTML tags (e.g. <br&nbsp;/>
which prevent proper display of the email preview in MSIE browser.  The
buildMailboxArray() method incorrectly replaces all spaces with a
non-breaking space entity *after* converting the email text to HTML. This
clobbers any HTML tags that contain spaces.

The attached patch corrects the issue in our environment and is provided as
a suggested resolution for this bug.




More information about the bugs mailing list