Fix miscapitalizations of "ReSound"

This commit is contained in:
Domenic Denicola 2020-10-17 20:16:02 -04:00
commit 24b01e4292

View file

@ -302,6 +302,9 @@ function getBodyXML(chapter, contentEl) {
// Note that Ward contains much talk of "the clairvoyants", so we don't want to capitalize plurals.
xml = xml.replace(/the clairvoyant([^s])/g, "the Clairvoyant$1");
// ReSound's name is sometimes miscapitalized. The word is never used in a non-name context.
xml = xml.replace(/Resound/g, "ReSound");
// This is sometimes missing its capitalization.
xml = xml.replace(/the birdcage/g, "the Birdcage");