don't decorate non math
This commit is contained in:
parent
669f756b34
commit
0329745f84
|
@ -65,6 +65,11 @@ function decorate(elem, isPreview){
|
|||
}
|
||||
|
||||
function mathjax($elem) {
|
||||
|
||||
if (!$elem || !$elem.find) {
|
||||
return;
|
||||
}
|
||||
|
||||
const mathElems = $elem.find('.math');
|
||||
|
||||
if (mathElems.length > 0) {
|
||||
|
|
Loading…
Reference in New Issue