commit 43f59da6b9dcdf9302426fda4e8ab12df87891c7 parent 273a96a122c582af0074449a9dee4b06bbe4a8e3 Author: Davide P. Cervone <dpvc@union.edu> Date: Thu, 20 Aug 2015 11:21:34 -0400 Make 'dumb quotes' into 'smark quotes' Diffstat:
| M | unpacked/jax/output/CommonHTML/autoload/ms.js | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/unpacked/jax/output/CommonHTML/autoload/ms.js b/unpacked/jax/output/CommonHTML/autoload/ms.js @@ -44,8 +44,8 @@ MathJax.Hub.Register.StartupHook("CommonHTML Jax Ready",function () { // Get the quotes to use // var values = this.getValues("lquote","rquote"); - if (!this.hasValue("lquote")) values.lquote = "\u201C"; - if (!this.hasValue("rquote")) values.rquote = "\u201D"; + if (!this.hasValue("lquote") || values.lquote === '"') values.lquote = "\u201C"; + if (!this.hasValue("rquote") || values.rquote === '"') values.rquote = "\u201D"; // // Add the left quote, the child nodes, and the right quote // FIXME: should the quotation marks be in MML.VARIANT.NORMAL?