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

Only record actual 'node' nodes. mathjax/MathJax#2283. #422

Merged
merged 1 commit into from
Jan 23, 2020
Merged

Conversation

dpvc
Copy link
Member

@dpvc dpvc commented Jan 9, 2020

This PR prevents text and other nodes from being recorded by addNode() when they are created. They were causing problems when the text was an existing property of an object (like constructor).

If the text really needs to be saved (and I don't see why it would), the nodeLists property in addNode() should be changes to a Map rather than an Object.

Resolves issue mathjax/MathJax#2283.

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.

Works. Lgtm.

@dpvc dpvc merged commit f6a4ff0 into develop Jan 23, 2020
@dpvc dpvc deleted the issue2283 branch January 23, 2020 18:12
@dpvc dpvc added this to the 3.0.1 milestone Mar 5, 2020
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