diff --git a/lib/convert-worker.js b/lib/convert-worker.js index 1cd668f..bf9c938 100644 --- a/lib/convert-worker.js +++ b/lib/convert-worker.js @@ -627,7 +627,7 @@ function fixHyphens(xml) { xml = xml.replace(/creepy crawl/g, "creepy-crawl"); xml = xml.replace(/well armed/g, "well-armed"); xml = xml.replace(/able bodied/g, "able-bodied"); - xml = xml.replace(/self conscious/g, "self-conscious"); + xml = xml.replace(/self (conscious|esteem|loathing|harm)/g, "self-$1"); xml = xml.replace(/([Oo]ne|[Tt]wo|[Tt]hree|[Ff]our|[Ff]ourth) dimensional/g, "$1-dimensional"); xml = xml.replace(/(?<=\b)one on one(?=\b)/g, "one-on-one");