Hyphenate "one-sided"

This commit is contained in:
Domenic Denicola 2020-12-26 16:23:03 -05:00
commit 0b4af123ab

View file

@ -661,6 +661,7 @@ function fixHyphens(xml) {
xml = xml.replace(/([Ss]hell) shocked/g, "$1-shocked");
xml = xml.replace(/([Dd]og) tired/g, "$1-tired");
xml = xml.replace(/([Nn]ightmare) filled/g, "$1-filled");
xml = xml.replace(/([Oo]ne) sided/g, "$1-sided");
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");