From 06c7b3adf230fa094bfb641fd2a30660686e483e Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Mon, 23 Nov 2020 16:22:29 -0500 Subject: [PATCH] Standardize on "Dragon-craft" and "Dragon-mech" --- lib/convert-worker.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/convert-worker.js b/lib/convert-worker.js index 9aa7cbd..59094bc 100644 --- a/lib/convert-worker.js +++ b/lib/convert-worker.js @@ -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; }