\textvisiblespace isn’t working correctly in MathJax.
When displaying the card it isn’t a known command:
(on Anki Desktop, AnkiWeb, AnkiDroid)
But it shows perfectly in the editing space:
(fine in editing space, but at the same time not known in preview)
When using the command in Latex instead of MathJax,
it displays correctly.
(in LaTeX the command works in Math and Text-Mode)