Hyphenate N-dimensional

This commit is contained in:
Domenic Denicola 2020-11-29 17:00:22 -05:00
commit 0c22f7df11

View file

@ -592,6 +592,7 @@ function fixHyphens(xml) {
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(/([Oo]ne|[Tt]wo|[Tt]hree|[Ff]our|[Ff]ourth) dimensional/g, "$1-dimensional");
// This is usually correct but sometimes wrong.
xml = xml.replace(/neo /g, "neo-");