Typesetting the same content results in nested assistive content
Created by: fast-reflexes
Issue Summary
Every time the same content is typeset anew with MathJax.typesetPromise()
, the assistive math tag gets a nested version of the math content itself.
Steps to Reproduce:
Go to https://codesandbox.io/s/better-react-mathjax-20-m8uf2c
- Let the page load, check the assistive mml subelement of the content typeset on startup.
- Click TYPESET and observe what change occurs in the assistive math element (it gets a nested version of the math element itself)
- Do it again to observe a further nesting in the assistive element.
No matter if typesetClear
is used or not, this is the resulting behaviour.
I would expect the assistive element to look the same after typesetting anew.
Technical details:
- MathJax Version: 3.2.1
- Client OS: MacOS Catalina 10.15.7
- Browser: Chrome Version 103.0.5060.53 (Official Build) (x86_64)
I am using the following MathJax configuration:
DEFAULT (e.g. typesetting on startup)
and loading MathJax via
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>