Sunday, December 19, 2010

comments bug on firefox


<body>
<!--

这段HTML注释代码因为中间多了2个连字符,在firefox中会导致解析出错,这段内容被做为正常的文本内容显示在浏览器中。
This entire comment -- will show in web browser

-->
</body>

Reference: (SGMLComment) Mozilla interprets a -- (two dashes in a row) inside of a comment or an include improperly

No comments :