From d6bb1f55d5127f447aee6dbf0a02c730cbe3a8d1 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Sat, 7 Mar 2015 11:12:01 -0500 Subject: [PATCH] Fix \mathchoice to use renamed CHTMLcreateNode function --- unpacked/extensions/TeX/mathchoice.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/unpacked/extensions/TeX/mathchoice.js b/unpacked/extensions/TeX/mathchoice.js index eae6dc031..193ee77b4 100644 --- a/unpacked/extensions/TeX/mathchoice.js +++ b/unpacked/extensions/TeX/mathchoice.js @@ -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; } });