diff --git a/lib/convert-worker.js b/lib/convert-worker.js index f781647..8e5bb59 100644 --- a/lib/convert-worker.js +++ b/lib/convert-worker.js @@ -613,6 +613,9 @@ function standardizeSpellings(xml) { // 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"); + // 88 instances of "A.I." to four of "AI" + xml = xml.replace(/AI(!?\b)/g, "A.I."); + return xml; }