Fix miscapitalizations of "ReSound"
This commit is contained in:
parent
4091530bb2
commit
24b01e4292
1 changed files with 3 additions and 0 deletions
|
|
@ -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.
|
// 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");
|
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.
|
// This is sometimes missing its capitalization.
|
||||||
xml = xml.replace(/the birdcage/g, "the Birdcage");
|
xml = xml.replace(/the birdcage/g, "the Birdcage");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue