mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
fix cloze in mathjax workaround
This commit is contained in:
parent
1fb2c96d07
commit
a882937dd3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
Loading…
Reference in a new issue