Closed Bug 34198 Opened 26 years ago Closed 24 years ago

HTML copy and paste from a mailnews window into a mail compose window damages HTML

Categories

(MailNews Core :: Composition, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED
mozilla0.9.3

People

(Reporter: tenthumbs, Assigned: Brade)

Details

Attachments

(1 file)

If I have an HTML email messages with embedded images, i.e. a multipart/related message, then copying the original HTML, which is laid out like <IMG SRC="cid:part1..." ALT="..." ><IMG SRC="cid:part2..." > so that the lines are short enough for SMTP servers, gets rewritten as <IMG SRC="cid:part1..." ALT="..."> <IMG SRC="cid:part2..." > which introduces extra spacing which makes it look very different.
accepting
Status: NEW → ASSIGNED
Target Milestone: --- → M20
Attached file test message
The attachment is a testcase email messsage. Change the headers if necessary and put it where Mozilla can find it. Make sure your background color is not white and try copy and paste.
reassign to editor.
Assignee: ducarroz → beppe
Status: ASSIGNED → NEW
We have a pref editor.prettyprint, currently defaulted to true, which tells the output system to ignore the document's original formatting and instead prettyprint the output according to our built-in rules. (The pref is even exposed, though unfortunately whoever put in the pref put it in backward, so it says "maintain source formatting" when it is NOT going to maintain source formatting ... sigh!) Setting this pref to false will try to respect the document's original formatting, but a warning: the reason we flipped the default to true (we wanted it to be false) was that it was incredibly brittle and kept getting broken, and you will probably get lots of long lines and dropped newlines. I'd love to see this work, personally.
reassign to tony
Assignee: beppe → anthonyd
bumping this to future. not relevant to embedding. anthonyd
Status: NEW → ASSIGNED
Target Milestone: M20 → Future
--> brade
Assignee: anthonyd → brade
Status: ASSIGNED → NEW
is this still a problem? Resolve so QA can test.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Target Milestone: Future → mozilla0.9.3
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: