From af0306422183271f899b9c228fee40830e58173c Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Mon, 23 Nov 2020 17:00:33 -0500 Subject: [PATCH] =?UTF-8?q?Standardize=20on=20"Crock=20o=E2=80=99=20Shit"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/convert-worker.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/convert-worker.js b/lib/convert-worker.js index 395cf0e..1f622c1 100644 --- a/lib/convert-worker.js +++ b/lib/convert-worker.js @@ -342,6 +342,9 @@ function standardizeNames(xml) { // 25 instances of "Amias" to 3 of "Amais" xml = xml.replace(/Amais/g, "Amias"); + // Earlier chapters have a space; later ones do not. They're separate words, so side with the earlier chapters. + xml = xml.replace(/Crock o[‘’]Shit/g, "Crock o’ Shit"); + return xml; }