6.0.0-beta1
7/17/25

[#2328] HTML formatting lost when loading saved Drafts
Summary HTML formatting lost when loading saved Drafts
Queue IMP
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners Horde Developers (at)
Requester kevin_myer (at) iu13 (dot) org
Created 07/25/2005 (7297 days ago)
Due
Updated 07/29/2005 (7293 days ago)
Assigned 07/25/2005 (7297 days ago)
Resolved 07/29/2005 (7293 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
07/29/2005 05:36:00 AM Michael Slusarz Comment #4
State ⇒ Resolved
Reply to this comment
Fixed in HEAD and 4.0.4.
07/27/2005 12:09:41 PM Jan Schneider Comment #3 Reply to this comment
It would make more sense to check if the message is a 
multipart/alternative message, and enable HTML composing with the 
text/html part in this case.
07/26/2005 05:56:24 PM kevin_myer (at) iu13 (dot) org Comment #2 Reply to this comment
I stepped through what I thought was the code path for this.  Unless 
I'm mistaken, the problem appears to be that when the message is 
reconstituted, the plaintext part is always used, and somehow the HTML 
part is either ignored, silently discarded, or inaccessible in the 
Compose screen.  I'd propose a solution that would look to see if 
compose_html is set and if it is, return the HTML portion, otherwise, 
return the plaintext.
07/25/2005 10:42:52 AM Jan Schneider Assigned to Horde DevelopersHorde Developers
State ⇒ Assigned
 
07/25/2005 10:34:34 AM kevin_myer (at) iu13 (dot) org Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ HTML formatting lost when loading saved Drafts
Queue ⇒ IMP
Reply to this comment
If you are in HTML composition mode in IMP, and you save your message 
as a Draft, the HTML code is preserved in the Draft folder message.   
However, if you resume working on that draft at a later today, all the 
HTML code disappears when you load the draft.



Simple test:



Create a one line message, with the word Test.  Switch to HTML mode, 
make Test bold and save as a draft.  Open the draft folder, choose the 
message you just saved and when you switch to HTML mode, your 
formatting is gone.

Saved Queries