Hyphenate self-preservation
This commit is contained in:
parent
6f51bc6c9a
commit
bf8a1b325c
1 changed files with 1 additions and 2 deletions
|
|
@ -628,7 +628,6 @@ function fixHyphens(xml) {
|
|||
xml = xml.replace(/ haired/g, "-haired");
|
||||
|
||||
// These are consistently missing hyphens.
|
||||
xml = xml.replace(/self destruct/g, "self-destruct");
|
||||
xml = xml.replace(/life threatening/g, "life-threatening");
|
||||
xml = xml.replace(/hard headed/g, "hard-headed");
|
||||
xml = xml.replace(/shoulder mounted/g, "shoulder-mounted");
|
||||
|
|
@ -638,7 +637,7 @@ function fixHyphens(xml) {
|
|||
xml = xml.replace(/able bodied/g, "able-bodied");
|
||||
xml = xml.replace(/level headed/g, "level-headed");
|
||||
xml = xml.replace(/clear cut/g, "clear-cut");
|
||||
xml = xml.replace(/self (conscious|esteem|loathing|harm)/g, "self-$1");
|
||||
xml = xml.replace(/self (conscious|esteem|loathing|harm|destruct|preservation)/g, "self-$2");
|
||||
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