mathbot icon indicating copy to clipboard operation
mathbot copied to clipboard

emoji throws off inline tex rendering

Open carlo-salinari opened this issue 2 years ago • 0 comments

This string is not rendered: the MathBot seems to be working now 🙂 Apparently, you can also type nonsense inline — for example, $$2 + 2 = 5$$ is false, but $$5 := 2 + 2$$ makes sense!

While this one is rendered as a full tex string (not inlined in the sense that a discord string contains tex images, it's one tex image): testing inline tex $$2 + 2 = 5$$ is false, but $$5 := 2 + 2$$ makes sense

image

Maybe the emoji is throwing the parser off? Yep, seems to be the case.

image

This project is awesome, thanks for your work.

carlo-salinari avatar Aug 09 '22 16:08 carlo-salinari