### Communities

tag:snake search within a tag
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
created:<1w created < 1 week ago
post_type:xxxx type of post
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

# MathJax in profiles displays differently depending on community

+1
−0

Some communities have MathJax enabled, which allows including mathematical notation in posts. I wondered whether this would extend to the user profile, so I did a test.

I edited my profile to include the following:

Testing MathJax in a profile:

$1+1$


The preview showed mathematical notation on a site that has MathJax enabled (in this case, Code Golf), and showed the raw text on a site that does not have MathJax enabled (here on Codidact Meta).

Similarly after saving, the profile shows as raw text unless the profile is reached from a community that has MathJax enabled, in which case it renders as mathematical notation.

This means someone in one of the mathematics related communities could edit their profile to add some MathJax, and not realise that people viewing their profile in other communities will not see the rendered result.

## What should the behaviour be?

I'm not sure if this counts as a bug or a feature request, or if it even needs to change, so I'm tagging it discussion. Should a user be warned that the MathJax will look different when viewed from other communities? Should MathJax be disabled for profiles regardless of community? Should MathJax be enabled for profiles even on communities where it is disabled for posts?

Why does this post require moderator attention?
Why should this post be closed?

+5
−0

I'm not sure there's a lot we can do about this, other than potentially adding a warning if MathJax is enabled. It's hard to reliably detect MathJax in a post, and even harder to reliably remove it - so disabling or content-triggered warnings aren't realistically doable.

We could add a simple warning above the profile field on all communities where MathJax is enabled to say that if you use MathJax it will not render on other communities.

Why does this post require moderator attention?