Fix \mathchoice to use renamed CHTMLcreateNode function

This commit is contained in:
Davide P. Cervone 2015-03-07 11:12:01 -05:00
parent dc923adf8f
commit d6bb1f55d5

View File

@ -77,12 +77,12 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
this.SVGsaveData(svg); this.SVGsaveData(svg);
return svg; return svg;
}, },
toCommonHTML: function (span) { toCommonHTML: function (node) {
span = this.CHTMLcreateSpan(span); node = this.CHTMLcreateNode(node);
this.CHTMLhandleStyle(span); this.CHTMLhandleStyle(node);
this.CHTMLhandleColor(span); this.CHTMLhandleColor(node);
this.CHTMLaddChild(span,this.choice(),{}); this.CHTMLaddChild(node,this.choice(),{});
return span; return node;
} }
}); });