Fix hyphenation of "able-bodied"

This commit is contained in:
Domenic Denicola 2020-10-17 20:18:12 -04:00
commit 5a6f3e8cfb

View file

@ -433,6 +433,7 @@ function getBodyXML(chapter, contentEl) {
xml = xml.replace(/golden skinned/g, "golden-skinned");
xml = xml.replace(/creepy crawl/g, "creepy-crawl");
xml = xml.replace(/well armed/g, "well-armed");
xml = xml.replace(/able bodied/g, "able-bodied");
// One-off fixes
(substitutions[chapter.url] || []).forEach(substitution => {