mathjax / MathJax-node

MathJax for Node
Apache License 2.0
615 stars 97 forks source link

[mj-single] [CHTML] reset internal ids #231

Closed pkra closed 8 years ago

pkra commented 8 years ago

Split out of https://github.com/mathjax/MathJax-node/issues/215#issue-148969074:

CHTML id's may want to be reset every typeset so that (if used as the backend of some other service) the id's don't grow unbounded. ... So something like MathJax.OutputJax.CommonHTML.ID = 0; should do (untested).

pkra commented 8 years ago

I've confirmed that the fix works.

I'm not sure how to test this given that we remove the id's in #215.

dpvc commented 8 years ago

I don't think you can test for it. I'd mark "No Test Needed" if we had that label.

pkra commented 8 years ago

Copy that.

dpvc commented 8 years ago

==> Merged.