[thelist] TIP: Firefox and the double dash

M. Seyon evolt07 at delime.com
Fri Nov 3 23:49:49 CST 2006


Hi Anthony, it's actually recommended in the specs that one not use "two or 
more adjacent hyphens inside comments"

http://www.w3.org/TR/html4/intro/sgmltut.html#idx-HTML

regards.
-marc

Message from Anthony Baratta (10/31/2006 01:21 PM)

>Not sure if this is a bug or a feature but Firefox has issues with double 
>dashes with HTML Comment Tags.
>
>For example, a properly formatted HTML Comment should look lke this (using 
>square brackets instead of angle brackets):
>
>[!-- This is a valid comment --]
>
>However, when you have a double dash within the comment, not at the end, 
>Firefox freaks out and will make the comment "extend beyond the area it should.
>
>[!-- This is not -- a valid comment --]




More information about the thelist mailing list