From 44f2cc3c7beef87c4734bd62168d956a33d89c04 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Fri, 25 Dec 2020 15:48:00 -0500 Subject: [PATCH] Hyphenate "shell-shocked" --- lib/convert-worker.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/convert-worker.js b/lib/convert-worker.js index 1b49329..30add8e 100644 --- a/lib/convert-worker.js +++ b/lib/convert-worker.js @@ -638,6 +638,7 @@ function fixHyphens(xml) { xml = xml.replace(/([Ll]evel) headed/g, "$1-headed"); xml = xml.replace(/([Cc]lear) cut/g, "$1-cut"); xml = xml.replace(/([Vv]at) grown/g, "$1-grown"); + xml = xml.replace(/([Ss]hell) shocked/g, "$1-shocked"); xml = xml.replace(/([Ss]elf) (conscious|esteem|loathing|harm|destruct|preservation)/g, "$1-$2"); xml = xml.replace(/([Oo]ne|[Tt]wo|[Tt]hree|[Ff]our|[Ff]ourth) dimensional/g, "$1-dimensional"); xml = xml.replace(/(?<=\b)([Oo]ne) on one(?=\b)/g, "$1-on-one");