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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
});
}
});