Open
Bug 950525
Opened 12 years ago
Updated 3 years ago
Don't format HTML (inserting line break) if draft mode
Categories
(MailNews Core :: Composition, defect)
MailNews Core
Composition
Tracking
(Not tracked)
NEW
People
(Reporter: m_kato, Unassigned)
Details
Attachments
(1 file)
|
12.45 KB,
patch
|
Details | Diff | Splinter Review |
When saving / sending mail, we use nsIDocumentEncoder with nsIDocumentEncoder::OutputFormatted.
nsIDocumentEncoder::OutputFormatted insert line break per wrap length. So when composing mail then saving it as draft, line break may be unfortunately inserted.
So we should use nsIDocumentEncoder::OutputRaw when saving as draft. When sending mail, nsMsgComposeAndSend is re-created, so we should use OutputFormatted with deliver mode only.
And force text mode, HTML text will be converted in nsMsgAttachmentHandler::UrlExit(). So we keep raw mode for format=flowed.
| Reporter | ||
Comment 1•12 years ago
|
||
Comment 2•10 years ago
|
||
| Reporter | ||
Updated•10 years ago
|
Assignee: m_kato → nobody
Updated•7 years ago
|
Flags: needinfo?(Pidgeot18)
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•