From 52ba4e6fa9fc2f667c393aad9502d32ee0189940 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Wed, 26 Aug 2015 17:23:58 -0400 Subject: [PATCH] Fix default value for minlabelspacing (failed if unitless values were used) --- unpacked/jax/output/CommonHTML/autoload/mtable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unpacked/jax/output/CommonHTML/autoload/mtable.js b/unpacked/jax/output/CommonHTML/autoload/mtable.js index c18c70b2f..496f1f975 100644 --- a/unpacked/jax/output/CommonHTML/autoload/mtable.js +++ b/unpacked/jax/output/CommonHTML/autoload/mtable.js @@ -435,7 +435,7 @@ MathJax.Hub.Register.StartupHook("CommonHTML Jax Ready",function () { if (indent.indentshiftfirst !== MML.INDENTSHIFT.INDENTSHIFT) indent.indentshift = indent.indentshiftfirst; if (indent.indentshift === "auto") indent.indentshift = "0"; var shift = this.CHTMLlength2em(indent.indentshift,CHTML.cwidth); - var labelspace = this.CHTMLlength2em(values.minlabelspacing,this.defaults.minlabelspacing); + var labelspace = this.CHTMLlength2em(values.minlabelspacing,.8); var labelW = labelspace + state.W[LABEL], labelshift = 0, tw = state.R; var dIndent = this.CHTMLlength2em(CONFIG.displayIndent,CHTML.cwidth); var s = (state.CALIGN[LABEL] === MML.INDENTALIGN.RIGHT ? -1 : 1);