From 7ec37f65f078a1620295385c376e249e886858f8 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Mon, 22 Aug 2016 20:20:29 -0400 Subject: [PATCH] One more fix for CommonHTML full-width tables (undoes an incorrect change in 0e9f51f3 --- unpacked/jax/output/CommonHTML/jax.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/unpacked/jax/output/CommonHTML/jax.js b/unpacked/jax/output/CommonHTML/jax.js index e048bc439..6f30fb105 100644 --- a/unpacked/jax/output/CommonHTML/jax.js +++ b/unpacked/jax/output/CommonHTML/jax.js @@ -1755,8 +1755,7 @@ node.parentNode.style.minWidth = this.CHTML.mwidth||CHTML.Em(this.CHTML.w); node.parentNode.className = "mjx-full-width "+node.parentNode.className; node.style.width = this.CHTML.pwidth; - } - if (!this.isMultiline && this.Get("display") === "block") { + } else if (!this.isMultiline && this.Get("display") === "block") { var values = this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift"); if (values.indentalignfirst !== MML.INDENTALIGN.INDENTALIGN) values.indentalign = values.indentalignfirst; if (values.indentalign === MML.INDENTALIGN.AUTO) values.indentalign = CONFIG.displayAlign;