Closed Bug 340975 Opened 18 years ago Closed 18 years ago

Text "--" in HTML comments forces browser to display the comments in webpage.

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 214476

People

(Reporter: mozilla, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; he; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 Some (all?) HTML comments that contain the text "--" force Firefox to display the comments in the webpage. For instance: "<p>Hello <!-- **** --> World</p>" Produces: "Hello World" However,"<p>Hello <!-- Big -- Bad --> World</p>" Produces: "Hello <!-- Big -- Bad --> World" Reproducible: Always Steps to Reproduce: 1.Create page with HTML comment that includes "--" within the comment 2.Display page in Fx Actual Results: The text "Hello <!-- Big -- Bad --> World" was displayed in the browser. Expected Results: The browser should have displayed "Hello World". The bug was confirmed by others, as you can see on this page: http://www.siteexperts.com/forums/viewConverse.asp?d_id=19226
*** This bug has been marked as a duplicate of 214476 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.