It looks like MathJax has stopped working. Every equation is on a separate line:
It is the same pattern for all the opened topics. Another example:
I have no non-supported plugins installed:
I also tried to cleanup and rebuild the app.
What could be the issue?
I also noticed that there was a RTL fix lately, could this be the reason?
I have no repro with latest discourse and discourse-math, using the following test code and a RTL locale:
Can you give me a better repro please ? Also try
/safe-mode to disable current theme to ensure nothing is altering this.
Last, but not least, check your browser console, my bet would be that you will find a js error preventing mathjax to do its conversion.
Thanks for your reply!
have you tried one-liner equation? it looks like you showed only the multi-line equations. For one line equation is should be wrapped with one dollar sign
$ and with extra words, something like:
היי $y=x+5$. זאת בדיקה.
Multi-lines equations work just fine , the one-liners are the problem.
I checked the DevTools but no errors there. The console is clear.
Also I have tried to switch back to the old theme but I get the same error:
EDIT: Could someone please verify that it is a problem from my side so I could act accordingly? It’s impossible to use my website now Thanks you all.
Try searching here for info on safe mode.
Thanks for the reply.
I have entered the safe mode. At first I checked all of the three available options but it does not tell me where the problem is because then I don’t have MathJax. Then I tried to check only the first two options (without checking the “Disable all extensions” checkbox). In that mode, I still facing with the same situation (equations wrapped with one
$ break, as shown before).
I doubt this is that RTL fix, but the wrapping fix @Johani made in mathjax may not be accounting for inline math, only block form
Thanks for the reply Sam.
So what could be the problem? Any ideas?
We will investigate this and report back in the next week or so
I found out where the problem is coming form. There is a new commit in the discourse-math plugin that add a new attribute ‘math-container’.
In the dev tools I see:
If I checkout this attribute, It will work: