Closed Bug 406694 Opened 17 years ago Closed 17 years ago

Comments seem to be parsed incorrectly

Categories

(Toolkit :: View Source, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 214476

People

(Reporter: jeremyh, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2pre) Gecko/2007120105 Minefield/3.0b2pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2pre) Gecko/2007120105 Minefield/3.0b2pre

Check the source for more explanation. It seems to only happen with a doctype. Firefox ends a comment after two dashes and a greater than sign even if there is text in between the two dashes and the greater than sign. IE and Safari comment as expected so either Firefox has a bug or the other browsers do and so does my color coded text editor. I've tested with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2pre) Gecko/2007120105 Minefield/3.0b2pre.


Reproducible: Always

Steps to Reproduce:
1. Go to link and view source.
2.
3.
Actual Results:  
Firefox ends a comment after two dashes and a greater than sign even if there is text in between the two dashes and the greater than sign.

Expected Results:  
All test between <!-- and --> should be commented.
Whoops, That's supposed to be "All text between <!-- and --> should be commented."
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.