Closed
Bug 153415
Opened 22 years ago
Closed 22 years ago
problem with double dash/minus inside HTML comment
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: L.Bonnaud, Assigned: harishd)
References
()
Details
From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020610 Debian/1.2.5-1 BuildID: 20020610 A HTML comment (<-- ... -->) containing a double dash/minus (--) causes the rest of the document to be interpreted as a comment. Reproducible: Always Steps to Reproduce: Load http://irancy.lis.inpg.fr/~bonnaud/foo.html in the browser. Actual Results: "text1 text3" is displayed. In the HTML source view, "text2" is colorized as a comment. Expected Results: "text1 text2 text3" should be displayed. If I remove the XHTML DocType, the bug goes away.
Comment 1•22 years ago
|
||
See <URL:http://www.w3.org/TR/html401/intro/sgmltut.html#h-3.2.4>. This is correct. INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Comment 2•22 years ago
|
||
Verified. The doctype triggers our "standards" mode in which we actually implement correct comment parsing...
Status: RESOLVED → VERIFIED
Comment 3•21 years ago
|
||
*** Bug 212842 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•