Added support for \mathchoice now that the old CommonHTML is named PreviewHTML.
This commit is contained in:
parent
65d9ee1160
commit
358e79765c
|
@ -90,6 +90,13 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
|
|||
this.CHTMLhandleColor(node);
|
||||
this.CHTMLaddChild(node,this.choice(),{});
|
||||
return node;
|
||||
},
|
||||
toPreviewHTML: function(span) {
|
||||
span = this.PHTMLcreateSpan(span);
|
||||
this.PHTMLhandleStyle(span);
|
||||
this.PHTMLhandleColor(span);
|
||||
this.PHTMLaddChild(span,this.choice(),{});
|
||||
return span;
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user