From 8daeebe507af62da6735db5e98a307166e5d9ab5 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Sat, 14 Nov 2020 18:54:02 -0500 Subject: [PATCH] Remove overcapitalization of "university" --- lib/convert-worker.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/convert-worker.js b/lib/convert-worker.js index f5f9bc2..50d8eda 100644 --- a/lib/convert-worker.js +++ b/lib/convert-worker.js @@ -450,6 +450,10 @@ function fixCapitalization(xml, book) { xml = xml.replace(/Halberd/g, "halberd"); xml = xml.replace(/Loft/g, "loft"); + // There's no reason why university should be capitalized in most contexts, although sometimes it's used as part of + // a compound noun or at the beginning of a sentence. + xml = xml.replace(/(?