Closed
Bug 55806
Opened 25 years ago
Closed 25 years ago
Text in angle brackets lost
Categories
(Core :: DOM: Serializers, defect, P1)
Core
DOM: Serializers
Tracking
()
VERIFIED
FIXED
People
(Reporter: BenB, Assigned: jst)
References
Details
(Keywords: dataloss, Whiteboard: [rtm++][HAVE FIX])
Attachments
(1 file)
|
3.03 KB,
patch
|
Details | Diff | Splinter Review |
Reproduce:
1. Open HTML composer
2. Enter
The URL:
<http://www.zdnet.com/eweek/stories/general/0,11011,2637785,00.html>.
See <http://www.bucksch.org/1/projects/mozilla/dist/mozcom>. More info
soon, stay tuned.
3. Send (as plaintext)
Actual result:
The URL: .
See . More info soon, stay tuned.
Expected result:
Same as entered in 3..
Reproduce:
4. Open this bug on Mozilla.
5. Select the text to be entereed in step 3..
6. Paste in an textfield outside Mozilla, e.g. in 4.x.
Actual result:
The URL:
.
See . More info
soon, stay tuned.
(note the early linebreaks)
Expected result:
Same as to be entered in 3..
| Reporter | ||
Comment 1•25 years ago
|
||
Propably a regression due to bug 50742.
Please fix before M18. (No M18 keyword, ccing Asa instead.)
Comment 2•25 years ago
|
||
ok, we know about this one. Just looking for advice on whether jst's fix is the
right one.
| Assignee | ||
Comment 3•25 years ago
|
||
| Assignee | ||
Comment 4•25 years ago
|
||
The attached patch fixes the problem by not using the entity converter that is
not meant to be used for what we tried using it for, in stead the serializer now
uses nsEscapeHTML2() which does the right thing.
Status: NEW → ASSIGNED
Priority: P3 → P1
Whiteboard: [HAVE FIX]
| Reporter | ||
Comment 5•25 years ago
|
||
jst, thanks for fixing. Patch works for me. (This is no r=.)
If you have time, check if you can use |mozITXTToHTMLConv:ScanTXT| with param
whattodo == 0. It does the same, and is the "real" HTML->TXT converter, but I
don't know about the performance.
| Reporter | ||
Comment 6•25 years ago
|
||
s/HTML->TXT/TXT->HTML/
Comment 8•25 years ago
|
||
According to jst, this bug, which was caused by the NOXIF checkin, has been
reviewed and approved by waterson. RTM+'ing it for PDT approval.
Whiteboard: [HAVE FIX] → [HAVE FIX][rtm+]
| Assignee | ||
Comment 9•25 years ago
|
||
Marking rtm++ per discussion with Jim (jar), this will go in as part of the
noxif carpool.
Whiteboard: [HAVE FIX][rtm+] → [rtm++][HAVE FIX]
| Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 10•25 years ago
|
||
The fix for this was checked in with the noxif landing yesterday and today
(branch and trunk). Marking fixed
| Reporter | ||
Comment 11•25 years ago
|
||
verified with my Linux build from yesterday. Other platforms untested.
| Reporter | ||
Comment 13•25 years ago
|
||
I checked the trunk build only.
You need to log in
before you can comment on or make changes to this bug.
Description
•