From eec513bb8d891edbe79bcb7d76047791b657ea15 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Sat, 17 Oct 2020 20:15:14 -0400 Subject: [PATCH] Always capitalize "Cedar Point" and "Hollow Point" --- lib/convert.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/convert.js b/lib/convert.js index e664dfa..81277ed 100644 --- a/lib/convert.js +++ b/lib/convert.js @@ -340,6 +340,8 @@ function getBodyXML(chapter, contentEl) { xml = xml.replace(/Shale avenue/g, "Shale Avenue"); xml = xml.replace(/Lord street/g, "Lord Street"); xml = xml.replace(/Slater street/g, "Slater Street"); + xml = xml.replace(/Hollow point/g, "Hollow Point"); + xml = xml.replace(/Cedar point/g, "Cedar Point"); // These are usually not italicized, but sometimes are. Other foreign-language names (like Yàngbǎn) are not // italicized, so we go in the direction of removing the italics.