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);
return svg;
},
toCommonHTML: function (span) {
span = this.CHTMLcreateSpan(span);
this.CHTMLhandleStyle(span);
this.CHTMLhandleColor(span);
this.CHTMLaddChild(span,this.choice(),{});
return span;
toCommonHTML: function (node) {
node = this.CHTMLcreateNode(node);
this.CHTMLhandleStyle(node);
this.CHTMLhandleColor(node);
this.CHTMLaddChild(node,this.choice(),{});
return node;
}
});