fix cloze in mathjax workaround

This commit is contained in:
Damien Elmes 2017-08-11 21:09:47 +10:00
parent 1fb2c96d07
commit a882937dd3

View file

@ -86,5 +86,5 @@ function _clozeIsInsideMathjax(node) {
return;
}
// look for mathjax opening in previous text
return /\(|\$\$/.test(node.previousSibling.textContent);
return /\\\(|\$\$/.test(node.previousSibling.textContent);
}