From a405adf6b7616238074e947ca1e707a518bf673b Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Fri, 1 Jan 2021 15:28:39 -0500 Subject: [PATCH] Fix more "changed tack" misspellings --- lib/convert-worker.js | 3 +++ lib/substitutions.json | 8 -------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/lib/convert-worker.js b/lib/convert-worker.js index df92ea6..f46312a 100644 --- a/lib/convert-worker.js +++ b/lib/convert-worker.js @@ -636,6 +636,9 @@ function fixMispellings(xml) { // https://www.dictionary.com/browse/scot-free xml = xml.replace(/scott(?: |-)free/g, "scot-free"); + // https://grammarist.com/idiom/change-tack/ + xml = xml.replace(/changed tacks/g, "changed tack"); + return xml; } diff --git a/lib/substitutions.json b/lib/substitutions.json index 9ab6333..38aa1c0 100644 --- a/lib/substitutions.json +++ b/lib/substitutions.json @@ -3676,14 +3676,6 @@ { "before": "Night hags", "after": "Night Hags" - }, - { - "before": "Mannequin changed tacks", - "after": "Mannequin changed tack" - }, - { - "before": "Rachel had changed tacks", - "after": "Rachel had changed tack" } ], "https://parahumans.wordpress.com/2013/08/06/interlude-26a/": [