You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that parse5 does not adhere to the HTML specification when it comes to parsing the noframes tag outside of the head of a document.
According to the specification, when a noframes tag is encountered inside a document's body, it should be processed as if it was in head, i.e., with raw text content. Parse5 however seems to parse it as if it were a custom tag. For the other tags listed in the spec it behaves correctly, but noframes seems to be missing here
Example:
<r><noframes><mathid="</noframes><b>should be outside of noframes</b>">
In head mode the content of noframes should be parsed as raw text, that is the closing tag inside the id attribute of the math tag should close the opening noframes tag and the following b tag should be outside of noframes.
The text was updated successfully, but these errors were encountered:
Hello,
I found that parse5 does not adhere to the HTML specification when it comes to parsing the
noframes
tag outside of thehead
of a document.According to the specification, when a
noframes
tag is encountered inside a document'sbody
, it should be processed as if it was inhead
, i.e., with raw text content. Parse5 however seems to parse it as if it were a custom tag. For the other tags listed in the spec it behaves correctly, butnoframes
seems to be missing hereExample:
Explorer link.
In
head
mode the content ofnoframes
should be parsed as raw text, that is the closing tag inside the id attribute of themath
tag should close the openingnoframes
tag and the followingb
tag should be outside ofnoframes
.The text was updated successfully, but these errors were encountered: