Un-capitalize "halberd"

This commit is contained in:
Domenic Denicola 2017-11-11 14:13:02 -08:00
commit 18f7436987

View file

@ -229,6 +229,9 @@ function getBodyXML(chapter, contentEl) {
// This is sometimes missing its capitalization
xml = xml.replace(/the birdcage/g, "the Birdcage");
// There's no reason why this should be capitalized. (Note that it never appears at the beginning of any sentences.)
xml = xml.replace(/Halberd/g, "halberd");
// Especially early in the story, PRT designations are capitalized; they should not be. This fixes the cases where we
// can be reasonably sure they don't start a sentence, although more specific instances are done in
// substitutions.json, and some need to be back-corrected.