Skip to content

Underset with empty argument causes rendering error #1580

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

Closed
cpitclaudel opened this issue Aug 13, 2016 · 3 comments
Closed

Underset with empty argument causes rendering error #1580

cpitclaudel opened this issue Aug 13, 2016 · 3 comments

Comments

@cpitclaudel
Copy link

MWE:

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  <head>
    <script type="text/javascript" async src="https://cdn.mathjax.org/mathjax/latest/unpacked/MathJax.js?config=TeX-MML-AM_CHTML"> </script>
  </head>
  <body>
    Test: \(\underset{}{\rightsquigarrow}\)
  </body>
</html>

Output:

Test: [Math Processing Error]

Backtrace:

Error: span.lastChild.firstChild is null

file: https://cdn.mathjax.org/mathjax/2.6-latest/unpacked/jax/output/PreviewHTML/jax.js?rev=2.6.1
line: 789

Workaround:

Test: \(\underset{\mbox{}}{\rightsquigarrow}\)

Let me know if I can provide more info!

@dpvc
Copy link
Member

dpvc commented Aug 13, 2016

This is a duplicate of #1474 (which was about overset, but it is the same issue). A patch is already in place in the develop branch, and will be in the next release.

@dpvc dpvc added the Duplicate label Aug 13, 2016
@cpitclaudel
Copy link
Author

Thanks. Sorry for missing it.

@dpvc
Copy link
Member

dpvc commented Aug 13, 2016

No problem. Better to have two reports than none.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants