diff --git a/unpacked/extensions/TeX/mathchoice.js b/unpacked/extensions/TeX/mathchoice.js index 9c6e35833..6d997e363 100644 --- a/unpacked/extensions/TeX/mathchoice.js +++ b/unpacked/extensions/TeX/mathchoice.js @@ -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; } });