I’ve been using LaTeX in Anki for years. I have a note type called LaTeX configured so I can type into Anki just like into a LaTeX editor.
I recently upgraded to Anki 2.1.54 and some of my cards aren’t displaying properly. For example, I used to be able to use the “verbatim” environment like in the spoiler:
\begin{verbatim}
[f(x)=
\begin{cases}
x & x<0 \
x^2 & x\geq 0\
\end{cases}
]
\end{verbatim}
to get output like

but now as soon as I enter the \] to match the \[, Anki seems to get “confused” and weird symbols and green text start appearing like:

and the output isn’t correct, like:

Does this have something to do with “MathJax” and can I disable MathJax?