www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit e47e221afad08727072eb7c9cf9d4f6da75d6f83
parent eb6f1c0123ad4cd999f41a2580014ec195fb7a16
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Fri,  4 Dec 2015 14:37:32 -0500

Merge branch 'issue1312' into develop.  Issue #1312.

Diffstat:
Munpacked/jax/input/TeX/jax.js | 10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/unpacked/jax/input/TeX/jax.js b/unpacked/jax/input/TeX/jax.js @@ -343,10 +343,12 @@ type: "fn", checkItem: function (item) { if (this.data[0]) { - if (item.type !== "mml" || !item.data[0]) {return [this.data[0],item]} - if (item.data[0].isa(MML.mspace)) {return [this.data[0],item]} - var mml = item.data[0]; if (mml.isEmbellished()) {mml = mml.CoreMO()} - if ([0,0,1,1,0,1,1,0,0,0][mml.Get("texClass")]) {return [this.data[0],item]} + if (item.type !== "fn" && item.type !== "left") { + if (item.type !== "mml" || !item.data[0]) {return [this.data[0],item]} + if (item.data[0].isa(MML.mspace)) {return [this.data[0],item]} + var mml = item.data[0]; if (mml.isEmbellished()) {mml = mml.CoreMO()} + if ([0,0,1,1,0,1,1,0,0,0][mml.Get("texClass")]) {return [this.data[0],item]} + } return [this.data[0],MML.mo(MML.entity("#x2061")).With({texClass:MML.TEXCLASS.NONE}),item]; } return this.SUPER(arguments).checkItem.apply(this,arguments);