Math in chat: troubleshooting?

Are there special steps require to enable math in chat? On my instance (Discourse 3.1, with

which includes the chat+math support mentioned in this post)

math works fine in normal topics, but in chat, it does not appear to work. Am I missing a step? Anything I could do to troubleshoot?


1 Like

I’ve done a little bit of digging. It seems that, at this point in the code:

it is assumed that the elements to be put through MathJax have a math CSS class. But a test chat message (I’m using Test $\alpha$ math?) does not seem to have any such elements when the DOM elements are run through the registered decorateChatMessage callback.

1 Like

Good catch thanks. This should be fixed by:


This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.