Spot fixes for Arc 12, Plague; additional hyphenation fixes

Hyphenation fixes for self-destruct(ing) and life-threatening
This commit is contained in:
Domenic Denicola 2019-08-16 22:17:58 -04:00
commit b90fdd1df1
2 changed files with 90 additions and 2 deletions

View file

@ -338,6 +338,8 @@ function getBodyXML(chapter, contentEl) {
xml = xml.replace(/cliche/g, "cliché");
// These are consistently missing hyphens.
xml = xml.replace(/self destruct/g, "self-destruct");
xml = xml.replace(/life threatening/g, "life-threatening");
xml = xml.replace(/hard headed/g, "hard-headed");
xml = xml.replace(/shoulder mounted/g, "shoulder-mounted");
xml = xml.replace(/golden skinned/g, "golden-skinned");