Hyphenate a variety of words starting with "self-"
Previously we only did self-conscious; this brings along self-esteem, self-loathing, and self-harm.
This commit is contained in:
parent
3e06358fa2
commit
5ff6621b31
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue