Always hyphenate "one-on-one"
This commit is contained in:
parent
54f2f82650
commit
e3ef2e254a
1 changed files with 1 additions and 0 deletions
|
|
@ -600,6 +600,7 @@ function fixHyphens(xml) {
|
|||
xml = xml.replace(/able bodied/g, "able-bodied");
|
||||
xml = xml.replace(/self conscious/g, "self-conscious");
|
||||
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");
|
||||
|
||||
// This is usually correct but sometimes wrong.
|
||||
xml = xml.replace(/neo /g, "neo-");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue