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

Implement a special parse error closing <math> and <svg> elements #240

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

kornelski
Copy link
Contributor

13.2.6.5 makes <p> and <br> in foreign content a parse error that recovers by resetting parsing mode to HTML.

I've ensured that parsing of these edge cases aligns with Chrome and Firefox.

@orium orium merged commit 592907c into master Nov 8, 2024
4 checks passed
@orium orium deleted the mxss branch November 8, 2024 13:06
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.

2 participants