Skip to content

Commit 930c0a7

Browse files
committed
Merge remote-tracking branch 'dpvc/issue486' into develop
Resolves issue #486.
2 parents 55b5803 + 1cc5064 commit 930c0a7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

unpacked/jax/output/NativeMML/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
MathJax.OutputJax.NativeMML = MathJax.OutputJax({
2929
id: "NativeMML",
30-
version: "2.2",
30+
version: "2.2.1",
3131
directory: MathJax.OutputJax.directory + "/NativeMML",
3232
extensionDir: MathJax.OutputJax.extensionDir + "/NativeMML",
3333

unpacked/jax/output/NativeMML/jax.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@
576576
if (this.data[this.sub] == null) {type = "msup"}
577577
var tag = this.NativeMMLelement(type);
578578
this.NativeMMLattributes(tag);
579-
delete this.data[0].inferred;
579+
if (this.data[0]) {delete this.data[0].inferred}
580580
for (var i = 0, m = this.data.length; i < m; i++)
581581
{if (this.data[i]) {this.data[i].toNativeMML(tag)}}
582582
parent.appendChild(tag);
@@ -594,7 +594,7 @@
594594
if (this.data[this.over] == null) {type = "munder"}
595595
var tag = this.NativeMMLelement(type);
596596
this.NativeMMLattributes(tag);
597-
delete this.data[0].inferred;
597+
if (this.data[0]) {delete this.data[0].inferred}
598598
for (var i = 0, m = this.data.length; i < m; i++)
599599
{if (this.data[i]) {this.data[i].toNativeMML(tag)}}
600600
parent.appendChild(tag);
@@ -746,7 +746,7 @@
746746
}
747747
}
748748

749-
if (nMML.tableLabelBug) {
749+
if (nMML.tableLabelBug && this.data[0]) {
750750
var side = this.parent.Get("side").charAt(0),
751751
align = HUB.config.displayAlign.charAt(0),
752752
indent = HUB.config.displayIndent;

0 commit comments

Comments
 (0)