MathJax.tex2chtml("\set{") gives an error

Once you’ve done the above, delete everything above this line.

Steps to reproduce

on an sandbox vault, where the file has the following contents:

$$
\set{
$$

or using the developer api/console,

window.MathJax.tex2chtml("\set{")

Did you follow the troubleshooting guide?

yes? don’t know if this belongs to developer api or bug reports.

Expected result

in reading/livepreview mode expect the output to be yellow highlighted with the font color red.

Actual result

\set{ in plain text

Environment

Not system related.


Additional information

This is a bug from mathjax see #3447 in the mathjax repo for the original issue and #1365 in the mathjax-src repo for the pr fix.

thanks