mirror of
https://github.com/wassname/template.git
synced 2026-08-20 12:50:57 +08:00
Typo subs
This commit is contained in:
Vendored
+2
-2
@@ -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,'…');
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user