Closed Bug 106269 Opened 24 years ago Closed 24 years ago

Reply quoted broken with HTML composing

Categories

(SeaMonkey :: MailNews: Message Display, defect, P1)

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.6

People

(Reporter: piskozub, Assigned: sspitzer)

References

Details

Attachments

(1 file, 2 obsolete files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:0.9.5+) Gecko/20011022 BuildID: 2001102213 Over the weekend quoting in HTML composed messages was broken. The replied message looks now like the original (no new quoting lines added on the left of quoted text). Reply quoted with plain mail works OK. Reproducible: Always Steps to Reproduce: 1. Set HTML message compose to "on" 2. Reply to a message 3. See that it looks like the original: the quoted text lacks the quote line on the left.
I'll add that the same problem exists with replying to news postings and that the quote lines originally in the message are shown in the reply window (meaning this is not a problem of just not rendering the lines). Problem still exists with a fresh CVS build made on 2001102310.
Keywords: nsbeta1+
Priority: -- → P1
Target Milestone: --- → mozilla0.9.6
Joe, is quoting your area? This is a pretty important bug since it makes it pretty hard to write and receive html mail. If one or more of you guys (Seth, Jean-Francois, or Joe) could look at this today, that would be greatly appreciated.
accepting, I'll investigate.
Status: NEW → ASSIGNED
the blocke quote tag is missing. <blockquote type="cite" cite="mid:3BD5D7D9.4090805@netscape.com">Just checkin' back.... <br> {MSG BODY} </blockquote>
*** Bug 106463 has been marked as a duplicate of this bug. ***
we're calling InsertAsCitedQuotation() with the correct cite, following into editor land...
I think this might have been caused by jfrancis's checkins. here's my guess so far: - res = InsertHTMLWithCharset(aQuotedText, aCharset); + res = LoadHTMLWithCharset(aQuotedText, aCharset); that is called after we stuff in the blockquote node. I think switching from insert to load means we blew away the blockquote node.
switching back fixes it. but I'm sure there was a good reason for switching to LoadHTMLWithCharset() this checkin was part of the fix for several bugs.
over to jfrancis.
Assignee: sspitzer → jfrancis
Status: ASSIGNED → NEW
OS: Windows ME → All
Hardware: PC → All
Attached patch patch (obsolete) — Splinter Review
taking back, we really need this to be fixed. I'll send mail to the jfrancis and the editor folks for review.
Assignee: jfrancis → sspitzer
Status: NEW → ASSIGNED
Comment on attachment 55067 [details] [diff] [review] patch r/sr=kin@netscape.com ... go ahead and check this in and reopen bug 58629 and bug 77902 stating that you backed out that one line. What is the string you are passing in? Is it a blockquote around something with an HTML tag? Or do you guys strip out everything except the contents of the BODY?
Attachment #55067 - Flags: superreview+
Attachment #55067 - Flags: review+
Looks like LoadHTMLWithCharset() is calling DeleteSelection() which triggers some rules code in WillDeleteSelection() which removes empty containers (in this case the blockquote) when the selection is collapsed.
Attachment #55067 - Attachment is obsolete: true
Attachment #55290 - Attachment is obsolete: true
Comment on attachment 55295 [details] [diff] [review] new patch, diff -uw, thanks again to kin. r/sr=kin@netscape.com Check that puppy in with the 'if' brace location matching the rest of the function.
Attachment #55295 - Flags: superreview+
Attachment #55295 - Flags: review+
braces style changes made. fix checked in. thanks again, kin.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
This change stands it messes up returning from source view in editor,
nevermind, newest patch doesn't have the problem. thanks kin and seth.
verified 2001-12-120 win, mac and linux
Status: RESOLVED → VERIFIED
*** Bug 106318 has been marked as a duplicate of this bug. ***
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: