Closed
Bug 255925
Opened 21 years ago
Closed 21 years ago
"--" within HTML remark extends remark past first encountered "-->"
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: chhiredgun, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6) Gecko/20040113
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6) Gecko/20040113
In the following <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> code:
<td width='100%' valign='top' class='post2'>
<!-- THE POST 2296 -->
<div class='postcolor'><!--QuoteBegin--[x]-Gen.M@$t3r+Aug 9 2004,
10:00 PM--></div><table border='0' align='center' width='95%' cellpadding='3'
cellspacing='1'><tr><td><b>QUOTE</b> (-[x]-Gen.M@$t3r @ Aug 9 2004, 10:00
PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> I've always gone to
RTCWfiles but I can't even find most of the maps that are ran or some
eightmaps thing. <!--QuoteEnd--> </td></tr></table><div class='postcolor'>
<!--QuoteEEnd--><br /> <a
href='http://www.planetwolfenstein.com/wildstar/etmaps.htm'
target='_blank'>http://www.planetwolfenstein.com/wildstar/etmaps.htm</a> </div>
<!-- THE POST -->
</td>
</tr>
<tr>
<td class='darkrow3' align='left'><b><span class='desc'>IP: [ ----------
]</span></b></td>
results in everything from "<!--QuoteBegin--[x]-" through "</span>" being
treated as a comment. Whereas inserting a space as follows:
...<!--QuoteBegin- -[x]-Gen...
corrects the problem. The code is generated by InvisionPowerBoard software and
displays correctly when viewed with IE.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1•21 years ago
|
||
It's supposed to that. '--' opens/closes a comment, so you can't have '--' in
the body of the comment.
See http://www.w3.org/TR/html401/intro/sgmltut.html#idx-HTML
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Updated•21 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•