Implement toCommonHTML for \mathchoice. Resolves issue #998.

This commit is contained in:
Davide P. Cervone 2015-01-07 08:30:48 -05:00
parent debd0c88b6
commit e4265d3969

View File

@ -79,6 +79,13 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
var svg = this.Core().toSVG();
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;
}
});