6.0.0-beta1
8/9/25

[#2868] Malformed HTML in mail preview
Summary Malformed HTML in mail preview
Queue IMP
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester tevans (at) tachometry (dot) com
Created 10/26/2005 (7227 days ago)
Due
Updated 10/27/2005 (7226 days ago)
Assigned 10/27/2005 (7226 days ago)
Resolved
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/27/2005 12:03:21 AM Chuck Hagenbuch Assigned to Michael Slusarz
State ⇒ Assigned
 
10/26/2005 07:13:11 PM tevans (at) tachometry (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Malformed HTML in mail preview
Queue ⇒ IMP
New Attachment: imp_preview_malformed_tag.txt Download
Reply to this comment
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.

Saved Queries