Make sure children of mtable are mtr or mlabeledtr (was incorrectly making an mtd instead of an mtr). Resolves issues #1006 and #1032.
This commit is contained in:
parent
55df93cdf8
commit
9531b299d4
|
@ -1177,7 +1177,7 @@ MathJax.ElementJax.mml.Augment({
|
||||||
Append: function () {
|
Append: function () {
|
||||||
for (var i = 0, m = arguments.length; i < m; i++) {
|
for (var i = 0, m = arguments.length; i < m; i++) {
|
||||||
if (!((arguments[i] instanceof MML.mtr) ||
|
if (!((arguments[i] instanceof MML.mtr) ||
|
||||||
(arguments[i] instanceof MML.mlabeledtr))) {arguments[i] = MML.mtd(arguments[i])}
|
(arguments[i] instanceof MML.mlabeledtr))) {arguments[i] = MML.mtr(arguments[i])}
|
||||||
}
|
}
|
||||||
this.SUPER(arguments).Append.apply(this,arguments);
|
this.SUPER(arguments).Append.apply(this,arguments);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user