Fix indenting of toMathML output.
This commit is contained in:
parent
9fd243d9bd
commit
d6b6b2e249
|
@ -147,7 +147,7 @@ MathJax.Hub.Register.LoadHook("[MathJax]/jax/element/mml/jax.js",function () {
|
|||
{annotation = MathJax.InputJax[jax.inputJax].annotationEncoding}
|
||||
var nested = (this.data[0] && this.data[0].data.length > 1);
|
||||
var tag = this.type, attr = this.toMathMLattributes();
|
||||
var data = [], SPACE = space + (annotation ? " " : "") + (nested ? " " : "");
|
||||
var data = [], SPACE = space + (annotation ? " " + (nested ? " " : "") : "") + " ";
|
||||
for (var i = 0, m = this.data.length; i < m; i++) {
|
||||
if (this.data[i]) {data.push(this.data[i].toMathML(SPACE))}
|
||||
else {data.push(SPACE+"<mrow />")}
|
||||
|
|
Loading…
Reference in New Issue
Block a user