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)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dbaron, Assigned: rickg)

Details

Attachments

(1 file)

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
Attached file test case described in bug. (deleted) —
Status: NEW → ASSIGNED
Target Milestone: M12
This is fixed in my tree (and a dup to boot), awaiting m12.
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.
updated qa contact.
QA Contact: janc → bsharma
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.

Attachment

General

Created:
Updated:
Size: