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

Have HTMLDomStrings skip node types that it can't process. (mathjax/MathJax#2662) #658

Merged
merged 2 commits into from
Apr 8, 2021

Conversation

dpvc
Copy link
Member

@dpvc dpvc commented Mar 24, 2021

This PR arranges for the HTMLDomStrings object to skip node types that it doesn't recognize (it can handle text, comments, and Elements). This fixes the problem reported in mathjax/MathJax#2662 where ProcessingInstructions would cause MathJax to crash.

Resolves issue mathjax/MathJax#2662.

@dpvc dpvc added this to the 3.1.3 milestone Mar 24, 2021
@dpvc dpvc requested a review from zorkow March 24, 2021 21:38
Copy link
Member

@zorkow zorkow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor things.

@dpvc dpvc merged commit 3d59e72 into develop Apr 8, 2021
@dpvc dpvc deleted the issue2662 branch April 8, 2021 16:08
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