Make 'dumb quotes' into 'smark quotes'

This commit is contained in:
Davide P. Cervone 2015-08-20 11:21:34 -04:00
parent 273a96a122
commit 43f59da6b9

View File

@ -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?