New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mojo::DOM misparses <script> elements #2014
Comments
I've not looked at the spec yet, but this would probably be the section to check for the correct behavior. |
This one looks relevant: https://html.spec.whatwg.org/multipage/parsing.html#script-data-less-than-sign-state After seeing a |
This line probably needs some fixing. |
xmllint appears to recognize the
|
Also fixed in |
Steps to reproduce the behavior
Expected behavior
No output as the document contains no
div
elements. (document.querySelectorAll('div')
in a browser agrees.)Actual behavior
Output:
The text was updated successfully, but these errors were encountered: