Merge remote-tracking branch 'dpvc/issue486' into develop
Resolves issue #486.
This commit is contained in:
commit
930c0a707b
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
MathJax.OutputJax.NativeMML = MathJax.OutputJax({
|
MathJax.OutputJax.NativeMML = MathJax.OutputJax({
|
||||||
id: "NativeMML",
|
id: "NativeMML",
|
||||||
version: "2.2",
|
version: "2.2.1",
|
||||||
directory: MathJax.OutputJax.directory + "/NativeMML",
|
directory: MathJax.OutputJax.directory + "/NativeMML",
|
||||||
extensionDir: MathJax.OutputJax.extensionDir + "/NativeMML",
|
extensionDir: MathJax.OutputJax.extensionDir + "/NativeMML",
|
||||||
|
|
||||||
|
|
|
@ -576,7 +576,7 @@
|
||||||
if (this.data[this.sub] == null) {type = "msup"}
|
if (this.data[this.sub] == null) {type = "msup"}
|
||||||
var tag = this.NativeMMLelement(type);
|
var tag = this.NativeMMLelement(type);
|
||||||
this.NativeMMLattributes(tag);
|
this.NativeMMLattributes(tag);
|
||||||
delete this.data[0].inferred;
|
if (this.data[0]) {delete this.data[0].inferred}
|
||||||
for (var i = 0, m = this.data.length; i < m; i++)
|
for (var i = 0, m = this.data.length; i < m; i++)
|
||||||
{if (this.data[i]) {this.data[i].toNativeMML(tag)}}
|
{if (this.data[i]) {this.data[i].toNativeMML(tag)}}
|
||||||
parent.appendChild(tag);
|
parent.appendChild(tag);
|
||||||
|
@ -594,7 +594,7 @@
|
||||||
if (this.data[this.over] == null) {type = "munder"}
|
if (this.data[this.over] == null) {type = "munder"}
|
||||||
var tag = this.NativeMMLelement(type);
|
var tag = this.NativeMMLelement(type);
|
||||||
this.NativeMMLattributes(tag);
|
this.NativeMMLattributes(tag);
|
||||||
delete this.data[0].inferred;
|
if (this.data[0]) {delete this.data[0].inferred}
|
||||||
for (var i = 0, m = this.data.length; i < m; i++)
|
for (var i = 0, m = this.data.length; i < m; i++)
|
||||||
{if (this.data[i]) {this.data[i].toNativeMML(tag)}}
|
{if (this.data[i]) {this.data[i].toNativeMML(tag)}}
|
||||||
parent.appendChild(tag);
|
parent.appendChild(tag);
|
||||||
|
@ -746,7 +746,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nMML.tableLabelBug) {
|
if (nMML.tableLabelBug && this.data[0]) {
|
||||||
var side = this.parent.Get("side").charAt(0),
|
var side = this.parent.Get("side").charAt(0),
|
||||||
align = HUB.config.displayAlign.charAt(0),
|
align = HUB.config.displayAlign.charAt(0),
|
||||||
indent = HUB.config.displayIndent;
|
indent = HUB.config.displayIndent;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user