I suspect that in the method strip_space the regex should be corrected in /^(\s|\\(?!\\\s))*/. As it is now, the sequence \ is simply stripped, instead of being translated in \, (that is the thin space). The rendering in MathML seem to confirm that this is what should happen, and also MathJax does so. The examples in the tests where \ is used seem on the contrary not correct. Am I right?
I suspect that in the method
strip_space
the regex should be corrected in/^(\s|\\(?!\\\s))*/
. As it is now, the sequence\
is simply stripped, instead of being translated in\,
(that is the thin space). The rendering in MathML seem to confirm that this is what should happen, and also MathJax does so. The examples in the tests where\
is used seem on the contrary not correct. Am I right?