From f6c72b41d6e1b8f6157ecc882f5c2dce05762ec7 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Wed, 17 Aug 2016 18:56:57 -0400 Subject: [PATCH] Be sure to remove all previous output in HTML-CSS jax. --- unpacked/jax/output/HTML-CSS/jax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unpacked/jax/output/HTML-CSS/jax.js b/unpacked/jax/output/HTML-CSS/jax.js index d9dacc284..079e0865e 100644 --- a/unpacked/jax/output/HTML-CSS/jax.js +++ b/unpacked/jax/output/HTML-CSS/jax.js @@ -578,7 +578,7 @@ // Remove any existing output // prev = script.previousSibling; - if (prev && String(prev.className).match(/^MathJax(_Display)?( MathJax_Processing)?$/)) + if (prev && String(prev.className).match(/^MathJax(_Display)?( MathJax_Process(ing|ed))?$/)) {prev.parentNode.removeChild(prev)} if (script.MathJax.preview) script.MathJax.preview.style.display = "none"; //