mirror of
https://github.com/ankitects/anki.git
synced 2025-11-10 14:47:12 -05: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;
|
return;
|
||||||
}
|
}
|
||||||
// look for mathjax opening in previous text
|
// look for mathjax opening in previous text
|
||||||
return /\(|\$\$/.test(node.previousSibling.textContent);
|
return /\\\(|\$\$/.test(node.previousSibling.textContent);
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue