diff --git a/lib/convert-worker.js b/lib/convert-worker.js index b7e4760..0e3bcda 100644 --- a/lib/convert-worker.js +++ b/lib/convert-worker.js @@ -496,9 +496,16 @@ function fixCapitalization(xml, book) { // This is sometimes missing its capitalization. xml = xml.replace(/the birdcage/g, "the Birdcage"); - // There's no reason why these should be capitalized. (Note that they never appear at the beginning of any sentences.) - xml = xml.replace(/Halberd/g, "halberd"); - xml = xml.replace(/Loft/g, "loft"); + // There's no reason why these should be capitalized. + xml = xml.replace(/(?