Closed
Bug 106269
Opened 24 years ago
Closed 24 years ago
Reply quoted broken with HTML composing
Categories
(SeaMonkey :: MailNews: Message Display, defect, P1)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.6
People
(Reporter: piskozub, Assigned: sspitzer)
References
Details
Attachments
(1 file, 2 obsolete files)
|
887 bytes,
patch
|
kinmoz
:
review+
kinmoz
:
superreview+
|
Details | Diff | Splinter Review |
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.
| Reporter | ||
Comment 1•24 years ago
|
||
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.
Updated•24 years ago
|
Comment 2•24 years ago
|
||
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.
| Assignee | ||
Comment 4•24 years ago
|
||
the blocke quote tag is missing.
<blockquote type="cite" cite="mid:3BD5D7D9.4090805@netscape.com">Just checkin'
back.... <br>
{MSG BODY}
</blockquote>
Comment 5•24 years ago
|
||
*** Bug 106463 has been marked as a duplicate of this bug. ***
| Assignee | ||
Comment 6•24 years ago
|
||
we're calling InsertAsCitedQuotation() with the correct cite, following into
editor land...
| Assignee | ||
Comment 7•24 years ago
|
||
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.
| Assignee | ||
Comment 8•24 years ago
|
||
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.
| Assignee | ||
Comment 9•24 years ago
|
||
over to jfrancis.
Assignee: sspitzer → jfrancis
Status: ASSIGNED → NEW
OS: Windows ME → All
Hardware: PC → All
| Assignee | ||
Comment 10•24 years ago
|
||
| Assignee | ||
Comment 11•24 years ago
|
||
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
| Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Comment 12•24 years ago
|
||
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+
Comment 13•24 years ago
|
||
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.
| Assignee | ||
Comment 14•24 years ago
|
||
| Assignee | ||
Comment 15•24 years ago
|
||
| Assignee | ||
Updated•24 years ago
|
Attachment #55067 -
Attachment is obsolete: true
| Assignee | ||
Updated•24 years ago
|
Attachment #55290 -
Attachment is obsolete: true
Comment 16•24 years ago
|
||
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+
| Assignee | ||
Comment 17•24 years ago
|
||
braces style changes made. fix checked in. thanks again, kin.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 18•24 years ago
|
||
This change stands it messes up returning from source view in editor,
Comment 19•24 years ago
|
||
nevermind, newest patch doesn't have the problem. thanks kin and seth.
Comment 21•24 years ago
|
||
*** Bug 106318 has been marked as a duplicate of this bug. ***
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•