Standardize on "Dragon-craft" and "Dragon-mech"

This commit is contained in:
Domenic Denicola 2020-11-23 16:22:29 -05:00
commit 06c7b3adf2

View file

@ -562,6 +562,9 @@ function standardizeSpellings(xml) {
// "gray" is the majority spelling, except for "greyhound"
xml = xml.replace(/(G|g)rey(?!hound)/g, "$1ray");
// 12 instances of "Dragon-craft", 12 instances of "Dragon craft", 1 instance of "dragon craft"
xml = xml.replace(/[Dd]ragon[ -](craft|mech)/g, "Dragon-$1");
return xml;
}