Closed pkra closed 6 years ago
This appears fixed on the develop
branch.
Probably related to https://github.com/mathjax/MathJax-node/issues/392.
Perhaps an additional test would be good since this is a nasty little bug that easily causes invalid markup downt the line (duplicate IDs due to repeated paths).
Probably related to #392.
In fact exactly the same issue. The SVG configuration parameter were being wiped out for the first SVG element produced because they were being set beforeSVG was loaded, and then when SVG was loaded, they were being overwritten by the SVG defaults. The fix for 392 is the same as for this, which is why it works in develop.
The test file for the presence of useFontCache
should be sufficient of this as well, since both are set or overridden in the same way.
I think this can be closed now that 2.1.0 has been released.
This is a regression (tested in 2.0.1).
Minimal sample: