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

Make safe extension properly handle scriptlevel of 0. (mathjax/MathJax#2745) #768

Merged
merged 1 commit into from
Feb 22, 2022

Conversation

dpvc
Copy link
Member

@dpvc dpvc commented Jan 31, 2022

The Safe extension was returning a number rather than a string when it filters the scriptlevel (and scriptSizeMultipler) attributes, and so a script level of 0 would end up reading as false rather than a string consisting of 0, and so the script level was filtered out. This PR returns strings for these attributes.

Resolves issue mathjax/MathJax#2745.

@dpvc dpvc requested a review from zorkow January 31, 2022 19:31
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.

lgtm.

@dpvc dpvc merged commit 0cbf1d4 into develop Feb 22, 2022
@dpvc dpvc deleted the issue2745 branch February 22, 2022 13:37
@dpvc dpvc added this to the 3.2.1 milestone Feb 22, 2022
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