From 6b5bedcbc721e31af286edb220f7d3ac2bd31569 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Mon, 26 Oct 2020 20:34:01 -0400 Subject: [PATCH] =?UTF-8?q?Use=20en=20dash=20instead=20of=20hyphen-minus?= =?UTF-8?q?=20for=20"G=E2=80=93N"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/convert-worker.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/convert-worker.js b/lib/convert-worker.js index d9f45dd..c853b9c 100644 --- a/lib/convert-worker.js +++ b/lib/convert-worker.js @@ -266,6 +266,7 @@ function getBodyXML(chapter, contentEl) { xml = xml.replace(/Tristan-Byron/g, "Tristan–Byron"); xml = xml.replace(/Earth-Gimel/g, "Earth–Gimel"); xml = xml.replace(/Gimel-Europe/g, "Gimel–Europe"); + xml = xml.replace(/G-N/g, "G–N"); xml = xml.replace(/Imp-Damsel/g, "Imp–Damsel"); xml = xml.replace(/Damsel-Ashley/g, "Damsel–Ashley"); xml = xml.replace(/Antares-Anelace/g, "Antares–Anelace");