Merge remote-tracking branch 'dpvc/issue691' into develop. Issue #691.

This commit is contained in:
Davide P. Cervone 2014-03-20 05:49:37 -04:00
commit 982d9f92f7

View File

@ -448,9 +448,13 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
tag.id = ID; if (global.label) {AMS.eqlabels[global.label].id = ID}
}
AMS.eqIDs[tag.id] = 1;
delete global.tag; delete global.tagID; delete global.label;
this.clearTag();
return tag;
},
clearTag: function () {
var global = this.global;
delete global.tag; delete global.tagID; delete global.label;
},
/*
* Set the initial <mo> to have form="infix" and lspace="0",
@ -541,7 +545,7 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
if (this.global.tag && !this.global.notags) {
this.row = [this.getTag()].concat(this.row);
mtr = MML.mlabeledtr;
}
} else {this.clearTag()}
if (this.numbered) {delete this.global.notag}
this.table.push(mtr.apply(MML,this.row)); this.row = [];
},