FIX: prevents inline span to be forced into blocks (#69)
Prior to this fix the "block" style would be used on any node (block or inline).
This commit is contained in:
parent
c0179a56f8
commit
69494ca5a4
|
@ -78,7 +78,7 @@ function decorate(elem, isPreview) {
|
|||
if (elem?.parentElement?.offsetParent !== null) {
|
||||
window.MathJax.Hub.Typeset(mathScript, () => {
|
||||
elem.style.display = "none";
|
||||
mathWrapper.style.display = "block";
|
||||
mathWrapper.style.display = null;
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue