Do quotes and text in one shot, like HTML-CSS and SVG (resolves some problems with the ms tests in the test suite).
This commit is contained in:
parent
930c5d3fb3
commit
0a4da7e3b4
|
@ -50,11 +50,9 @@ MathJax.Hub.Register.StartupHook("CommonHTML Jax Ready",function () {
|
|||
if (values.rquote === "\u201D" && values.mathvariant === "monospace") values.rquote = '"';
|
||||
//
|
||||
// Add the left quote, the child nodes, and the right quote
|
||||
// FIXME: should the quotation marks be in MML.VARIANT.NORMAL?
|
||||
//
|
||||
this.CHTMLhandleText(node,values.lquote,this.CHTMLvariant);
|
||||
for (var i = 0, m = this.data.length; i < m; i++) this.CHTMLaddChild(node,i,{});
|
||||
this.CHTMLhandleText(node,values.rquote,this.CHTMLvariant);
|
||||
var text = values.lquote+this.data.join("")+values.rquote; // FIXME: handle mglyph?
|
||||
this.CHTMLhandleText(node,text,this.CHTMLvariant);
|
||||
//
|
||||
// Finish the bbox, add any needed space and color
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue
Block a user