Preview stops working after typing two dollar signs

If I start a comment with $$ then the preview becomes blank from then on, even after deleting it. There’s an error in the dev tools too:

Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.

This happens on every instance I’ve tried, for example on https://forum.image.sc/ but not here for some reason.

Note that this occurs with the “discourse-math” plug-in enabled.

1 Like

OK, I pushed a fix here per:

https://github.com/discourse/discourse-math/commit/152a7b5c60f7f86129709f86278169fdf990f376

For our hosting I expect this to land over the next few days.

4 Likes

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