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

Handle AsciiMath configuration properly, in particular, displaystyle. (mathjax/MathJax#2520) #547

Merged
merged 1 commit into from
Sep 12, 2020

Conversation

dpvc
Copy link
Member

@dpvc dpvc commented Sep 4, 2020

This PR fixes two issues with AsciiMath:

  1. The AsciiMath component configuration was not properly handled (it was being processed too late, after AsciiMath had already been configured, and the AsciiMath parameters were being flagged as having no default value (they are only defined in the legacy code, not the new Typescript code).

  2. The conversion from the legacy internal format was not properly handling boolean values, which caused the displaystyle configuration option to be always treated as false.

Resolves issue mathjax/MathJax#2520.

@dpvc dpvc added this to the 3.1.1 milestone Sep 4, 2020
@dpvc dpvc requested a review from zorkow September 4, 2020 21:10
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.

I did not really understand the code very much. But I can see that it is now handled earlier. I assume early enough.

@dpvc dpvc merged commit 24c98c6 into develop Sep 12, 2020
@dpvc dpvc deleted the issue2520 branch September 12, 2020 11:33
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