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

Support inferred mrow for msqrt. #1108

Merged

Conversation

RyosukeFukatani
Copy link
Contributor

@RyosukeFukatani RyosukeFukatani commented Jul 15, 2022

Inferred mrows specification is documented here.
https://www.w3.org/TR/REC-MathML/chap3_1.html#sec3.1.3

For example,
Both <math><msqrt><mn>10</mn><mi>n</mi></msqrt></math> and <math><msqrt><mrow><mn>10</mn><mi>n</mi></mrow></msqrt></math> should be the same rendering result.

スクリーンショット 2022-07-15 22 06 17

Current flutter_html_math doesn't work as expected.

Copy link
Owner

@Sub6Resources Sub6Resources left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you! I hadn't had any time to dive into the MathML standards up to now to verify correctness. Feel free to point out any other MathML rendering inconsistencies you see!

@Sub6Resources Sub6Resources merged commit 7e08742 into Sub6Resources:master Aug 20, 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.

None yet

2 participants