www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 0a4da7e3b4665830a49dcae82d7d8b868c7aaaee
parent 930c5d3fb3745b17aa23709fbe9b9869ab58ff1e
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Tue, 25 Aug 2015 15:13:16 -0400

Do quotes and text in one shot, like HTML-CSS and SVG (resolves some problems with the ms tests in the test suite).

Diffstat:
Munpacked/jax/output/CommonHTML/autoload/ms.js | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/unpacked/jax/output/CommonHTML/autoload/ms.js b/unpacked/jax/output/CommonHTML/autoload/ms.js @@ -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 //