diff --git a/unpacked/jax/input/MathML/jax.js b/unpacked/jax/input/MathML/jax.js
index a97d9ceec..7aaf5ac84 100644
--- a/unpacked/jax/input/MathML/jax.js
+++ b/unpacked/jax/input/MathML/jax.js
@@ -282,8 +282,11 @@
parseDOM: function (string) {return this.parser.parseFromString(string,"text/xml")},
parseMS: function (string) {return (this.parser.loadXML(string) ? this.parser : null)},
parseDIV: function (string) {
- this.div.innerHTML = string.replace(/<([a-z]+)([^>]*)\/>/g,"<$1$2>$1>");
- return this.div;
+ this.div.innerHTML =
+ "
"+string.replace(/<([a-z]+)([^>]*)\/>/g,"<$1$2>$1>")+"
";
+ var doc = this.div.firstChild;
+ this.div.innerHTML = "";
+ return doc;
},
parseError: function (string) {return null},
createMSParser: function() {
diff --git a/unpacked/jax/output/HTML-CSS/jax.js b/unpacked/jax/output/HTML-CSS/jax.js
index 1f49ecd5d..a095e8f59 100644
--- a/unpacked/jax/output/HTML-CSS/jax.js
+++ b/unpacked/jax/output/HTML-CSS/jax.js
@@ -520,7 +520,7 @@
if (this.defaultEm) return;
var ready = MathJax.Callback();
AJAX.timer.start(AJAX,function (check) {
- if (check.time(ready)) {HUB.signal.Post("HTML-CSS Jax - no default em size"); return}
+ if (check.time(ready)) {HUB.signal.Post(["HTML-CSS Jax - no default em size"]); return}
HTMLCSS.getDefaultExEm();
if (HTMLCSS.defaultEm) {ready()} else {setTimeout(check,check.delay)}
},this.defaultEmDelay,this.defaultEmTimeout);
diff --git a/unpacked/jax/output/SVG/config.js b/unpacked/jax/output/SVG/config.js
index 4af24465a..064f8302c 100644
--- a/unpacked/jax/output/SVG/config.js
+++ b/unpacked/jax/output/SVG/config.js
@@ -41,6 +41,8 @@ MathJax.OutputJax.SVG = MathJax.OutputJax({
undefinedFamily: "STIXGeneral,'Arial Unicode MS',serif", // fonts to use for missing characters
addMMLclasses: false, // keep MathML structure and use CSS classes to mark elements
+ useFontCache: true, // use