Content deleted Content added
Ohconfucius (talk | contribs) fix bug in INRconvert |
Ohconfucius (talk | contribs) disabled the space removal following request BY User:Mike Christie |
||
Line 296:
regex(/(\w)[‘’′](s|t)\b/gi, '$1\'$2'); // in-word replacement of various single quotes and prime symbol with straight apostrophe
// regex(/(.)[‘`´’](.)/gi, '$1\'$2'); // straight apostrophe (won't touch prime symbol here)
regex(/(^\.U\.)[ ]+((?:S|K)\.)/gi, '$1$2'); //U. S. and U. K. to U.S. and U.K.
regex(/(<\/?ref(?: name=[^<>\/]*?|)>)[ ,\.]*(<ref)/gi, '$1$2'); // remove punctuation between ref tags
|