Comment 1 for bug 1815128

Revision history for this message
Robert Lyon (robertl-9) wrote :

Question: "Could we just not allow MathJax in the username?"

Answer: This problem also exists for normal page titles as well

The main problem is mathjax symbols are made from allowed characters, eg the symbol for pi, π, is made from \(\pi \) all of which are valid chars for a title.

So I guess during page settings form save we'd need to check if mathjax plugin is enabled and mathjax shaped syntax occurs in the title field and to throw an error on saving.

For some symbols, eg pi, we can get a better result by selecting the character by using the tinymce 'special characters' button and selecting the symbol if it exists in the font.