Skip to content

Commit 8c51621

Browse files
committed
Merge pull request mathjax#1483 from dpvc/issue1477
Catch IE8 errors with inserting MathML from AssistiveMML extension. mathjax#1477
2 parents 2e82e8f + c4198d2 commit 8c51621

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unpacked/extensions/AssistiveMML.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
className: "MJX_Assistive_MathML"
129129
+ (jax.root.Get("display") === "block" ? " MJX_Assistive_MathML_Block" : "")
130130
});
131-
span.innerHTML = mml;
131+
try {span.innerHTML = mml} catch (err) {}
132132
frame.style.position = "relative";
133133
frame.setAttribute("role","presentation");
134134
frame.firstChild.setAttribute("aria-hidden","true");

0 commit comments

Comments
 (0)