There is currently a minor misconfiguration in MathJax which has created a few other bug reports (everyone mentioning parentheses rendering improperly with math preview mode on). In this code:
This modification (a common error, see for instance here) should set the proper delimiters in the mathjax configuration, and stop complaints around parentheses rendering strangely with math preview on.
I'm not submitting as a PR since I have not been able to test on my dev machine.
To Reproduce
Write anything with round brackets and turn on MathJax preview
Expected behavior
MathJax should need \(f(x) = x^2\) to trigger, not just (f(x) = x^2).
Description
There is currently a minor misconfiguration in MathJax which has created a few other bug reports (everyone mentioning parentheses rendering improperly with math preview mode on). In this code:
The slashes are escaped once, so this means that the javascript gets written into it the line:
However, for javascript to interpret this properly, it needs to have the
\
escaped as well, so the original code needs to beThis modification (a common error, see for instance here) should set the proper delimiters in the mathjax configuration, and stop complaints around parentheses rendering strangely with math preview on.
I'm not submitting as a PR since I have not been able to test on my dev machine.
To Reproduce
Write anything with round brackets and turn on MathJax preview
Expected behavior
MathJax should need
\(f(x) = x^2\)
to trigger, not just(f(x) = x^2)
.FSNotes version
6.1.2
macOS/iOS version
12.5.1 (21G83)
Additional context
No response