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

convertLatexToMathMl generates invalid MathML superscript structure #1933

Closed
LinhTT46 opened this issue Apr 19, 2023 · 1 comment
Closed
Assignees
Labels

Comments

@LinhTT46
Copy link

LinhTT46 commented Apr 19, 2023

Description

The convertLatexToMathMl feature converts superscript expressions like x^2, y^2, n^2 ... without <mi> tag

Steps to Reproduce

MathLive.convertLatexToMathMl('x^2')

output: <msup>x<mn>2</mn></msup>

Expected Behavior

Grab x in <mi> tag
<msup><mi>x</mi><mn>2</mn></msup>

I already test this bug in version 0.89 and the latest version 0.91.2, it still occurs in both versions. Currently, I'm using version 0.89 so please fix this bug from that version. Thank you so much.

Environment

MathLive version: 0.89, ..., 0.91.2

Operating System Ubuntu 20.04.5

Browser Chrome

@LinhTT46
Copy link
Author

I just found the similar issue here 1870

@arnog arnog closed this as completed in b2066e8 May 21, 2023
@arnog arnog self-assigned this May 21, 2023
@arnog arnog added the bug label May 21, 2023
helio3197 pushed a commit to helio3197/mathlive that referenced this issue May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants