commit 6f4cdbd68c8050db14ca17f9507107163551c6ae
parent 6e2b8066dbb952e772d3c56abdab5ba20d671dca
Author: Davide P. Cervone <dpvc@union.edu>
Date: Fri, 19 Apr 2013 09:24:59 -0400
Merge branch 'issue342' into develop
Resolves issue #342.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/unpacked/MathJax.js b/unpacked/MathJax.js
@@ -978,6 +978,8 @@ MathJax.HTML = {
for (var i = 0; i < contents.length; i++) {
if (contents[i] instanceof Array) {
obj.appendChild(this.Element(contents[i][0],contents[i][1],contents[i][2]));
+ } else if (type === "script") { // IE throws an error if script is added as a text node
+ this.setScript(obj, contents[i]);
} else {
obj.appendChild(document.createTextNode(contents[i]));
}