Typo subs

This commit is contained in:
Shan Carter
2017-02-04 09:24:07 -08:00
parent 19da5e90c4
commit e8e1a353ef
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -8374,8 +8374,8 @@ var typeset = function(dom, data) {
function punctuation(text){
// Dashes
text = text.replace(/--/g, '');
text = text.replace(/ /g,"\u2009\u2014\u2009"); //this has thin spaces
text = text.replace(/--/g, '\u2014');
text = text.replace(/ \u2014 /g,"\u2009\u2014\u2009"); //this has thin spaces
// Elipses
text = text.replace(/\.\.\./g,'…');
+1 -1
View File
File diff suppressed because one or more lines are too long