Make 'dumb quotes' into 'smark quotes'
This commit is contained in:
parent
273a96a122
commit
43f59da6b9
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue
Block a user