mathjax / MathJax-node

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

Use <script> tags rather than delimited math in mj-single. #227

Closed dpvc closed 8 years ago

dpvc commented 8 years ago

This resolves the problem of having delimiters as part of the math passed to mj-single, and also prevents the need for the preprocessors.

[Fixes #226]

dpvc commented 8 years ago

OK, the changes fail when the math is empty. I'll have to fix that...

dpvc commented 8 years ago

OK, the problem was a < where there should have been a > to end a tag. OOPS!

Also, I had the wrong display-math marker for the TeX script tag. The tests should pass now.