diff --git a/unpacked/jax/output/CommonHTML/jax.js b/unpacked/jax/output/CommonHTML/jax.js index a2a9dc153..13d0f6de3 100644 --- a/unpacked/jax/output/CommonHTML/jax.js +++ b/unpacked/jax/output/CommonHTML/jax.js @@ -2602,6 +2602,7 @@ MML.mrow.Augment({ toCommonHTML: function (node,options) { + options = options || {}; node = this.CHTMLdefaultNode(node); var bbox = this.CHTML, H = bbox.h, D = bbox.d, hasNegative; for (var i = 0, m = this.data.length; i < m; i++) { @@ -2610,7 +2611,7 @@ } if (this.CHTMLlineBreaks()) { this.CHTMLmultiline(node); - if ((options||{}).autowidth) node.style.width = ""; + if (options.autowidth) node.style.width = ""; } else { if (hasNegative && bbox.w) node.style.width = CHTML.Em(Math.max(0,bbox.w)); if (bbox.w < 0) node.style.marginRight = CHTML.Em(bbox.w);