Closed Bug 615498 Opened 14 years ago Closed 14 years ago

Hyphens break comments.

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 214476

People

(Reporter: zamanewby, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 Two hyphens together -- between comments <!-- --> will break the comments when specifing a doctype. Is this a bug? For example: <!DOCTYPE html> <!-- test -- test --> Reproducible: Always
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
No it's not a bug in HTML4. HTML5 was changed for that, that's why it will work in Firefox 4.0 (new parser), but not in an older version.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.