Closed Bug 351419 Opened 18 years ago Closed 18 years ago

Two sequential dashes inside a commented block uncomments it.

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 214476

People

(Reporter: georgi.boshnakov, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6 A full page is given after a line of dashes. Here is the essense. The following snipped from an html file is seen in the rendered page: <!-- this is commented--out --> There is no problem without one of the dashes before "out": <!-- this is commented--out --> A complete file is given below (I tried to remove almost everything unrelated to the problem). ------------------------------------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Georgi Boshnakov - School of Mathematics</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="description" content="Georgi Boshnakov, School of Mathematics, The University of Manchester"> </head> <body> <p> before comment </p> <!-- this is commented--out --> <p> after comment </p> </body> </html> Reproducible: Always Steps to Reproduce: 1. Create an html file from the contents of the Details section starting at <!DOCTYPE=... 2. Open the file in Mozilla. 3. The text <!-- this is commented--out --> appears in the rendered page. 4. To isolate the problem, remove one of the dashes in "commented--out" and open the file again. Now the commented out block does not appear. Actual Results: The text <!-- this is commented--out --> appears in the rendered page when there are two dashes before the word "out". Expected Results: I do not expect the text between <!-- and --> to appear. This is a minor problem but it may not be easy to track down under some circumstances.
*** 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.