diff --git a/unpacked/config/default.js b/unpacked/config/default.js index db45cf071..084031af7 100644 --- a/unpacked/config/default.js +++ b/unpacked/config/default.js @@ -510,7 +510,7 @@ MathJax.Hub.Config({ // // This is the amound of indentation (from right or left) for the tags. // - TagIndent: ".8em", + TagIndent: "0.8em", // // This is the width to use for the multline environment diff --git a/unpacked/jax/output/NativeMML/jax.js b/unpacked/jax/output/NativeMML/jax.js index 6fa32af71..2189bee01 100644 --- a/unpacked/jax/output/NativeMML/jax.js +++ b/unpacked/jax/output/NativeMML/jax.js @@ -495,7 +495,7 @@ if (!this.attrNames) { if (this.type === "mstyle") {defaults = MML.math.prototype.defaults} for (var id in defaults) {if (!skip[id] && defaults.hasOwnProperty(id)) { - if (this[id] != null) {tag.setAttribute(id,this.NativeMMLattribute(this[id]))} + if (this[id] != null && this[id] !== defaults[id]) {tag.setAttribute(id,this.NativeMMLattribute(this[id]))} }} } for (var i = 0, m = copy.length; i < m; i++) {