From 326ec148c9b07b4847b4a182024d5100000c187c Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Sat, 7 Nov 2020 19:56:45 -0500 Subject: [PATCH] =?UTF-8?q?Fix=20instances=20of=20"Warden=E2=80=99s"=20whi?= =?UTF-8?q?ch=20should=20be=20"Wardens=E2=80=99"?= 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 4fac1b9..b16399b 100644 --- a/lib/convert-worker.js +++ b/lib/convert-worker.js @@ -395,6 +395,9 @@ function fixPossessives(xml) { xml = xml.replace(/([^‘])Ms. Stillons’([^s])/g, "$1Ms. Stillons’s$2"); xml = xml.replace(/([^‘])Chuckles’([^s])/g, "$1Chuckles’s$2"); + // This one is not just missing the extra "s"; it's often misplaced. + xml = xml.replace(/Warden’s/g, "Wardens’"); + return xml; }