Use apostrophes instead of opening quotes for ’kay

This commit is contained in:
Domenic Denicola 2020-11-23 16:37:29 -05:00
commit 20d91d37df
2 changed files with 2 additions and 5 deletions

View file

@ -198,6 +198,7 @@ function getBodyXML(chapter, book, contentEl) {
xml = xml.replace(/””<\/p>/g, "”</p>");
xml = xml.replace(/^([^“]+?) ?”(?![ —<])/gm, "$1 “");
xml = xml.replace(/(?<!“)<em>([A-Za-z]+),<\/em>(?!”| +[A-Za-z]+ thought)/, "<em>$1</em>,");
xml = xml.replace(/([Kk])ay(?!)/g, "$1ay");
// Similar problems occur in Ward with <b> and <strong> as do in Worm with <em>s
xml = xml.replace(/<b \/>/g, "");

View file

@ -346,7 +346,7 @@
"after": "in point: shazam"
},
{
"before": "Kay",
"before": "Kay",
"after": "kay"
}
],
@ -405,10 +405,6 @@
"before": "guardian spoke, “Youd",
"after": "guardian spoke. “Youd"
},
{
"before": "Kay",
"after": "Kay"
},
{
"before": "specially with",
"after": "Specially with"