Closed
Bug 18225
Opened 25 years ago
Closed 25 years ago
[4.xP]text file displayed like view-source
Categories
(Core :: DOM: HTML Parser, defect, P3)
Tracking
()
VERIFIED
FIXED
M12
People
(Reporter: dbaron, Assigned: rickg)
Details
Attachments
(1 file)
(deleted),
text/plain
|
Details |
DESCRIPTION: The text file (to be attached) is displayed with the color
highlighting of view-source, even though it's not HTML.
STEPS TO REPRODUCE: Load attached test case.
ACTUAL RESULTS: the <f^2> shows up as <f ^2> (note extra space) and in purple.
EXPECTED RESULTS: It should be normal text.
DOES NOT WORK CORRECTLY ON:
* Linux, apprunner, 1999-11-04-08-M11
WORKS CORRECTLY ON:
* Linux NN 4.61
Reporter | ||
Comment 1•25 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fixed by improvements to nsHTMLTokenizer. When invoked by viewsource, it ignores
markup of the mimetype is text.
Verified on:
Platform: WinNT
build: 2001-04-25-09-trunk
The attcached test case loads fine (no extra space).
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•