1
0
mirror of synced 2026-05-22 17:33:14 +00:00

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:
Joffrey JAFFEUX
2023-01-27 17:05:55 +01:00
committed by GitHub
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;
});
}
});