Skip to content
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

Continue parsing as data after invalid opening tag #1

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

brainformatik
Copy link
Owner

Per the spec:

Parse error. Switch to the data state. Emit a U+003C LESS-THAN SIGN character token. Reconsume the current input character.

https://www.w3.org/TR/2014/REC-html5-20141028/syntax.html#tag-open-state

fixes Masterminds#250

Per the spec:

> Parse error. Switch to the data state. Emit a U+003C LESS-THAN SIGN character token. Reconsume the current input character.

https://www.w3.org/TR/2014/REC-html5-20141028/syntax.html#tag-open-state

fixes Masterminds#250
@brainformatik brainformatik merged commit d3f7011 into brainformatik:master Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parser remove the single < (less than) character from given html string
2 participants