Fix instances of "The clairvoyant"
Previously we only fixed "the clairvoyant", missing cases where it his name started sentences.
This commit is contained in:
parent
e24bbc462b
commit
dd2b5b15ce
1 changed files with 1 additions and 1 deletions
|
|
@ -329,7 +329,7 @@ function getBodyXML(chapter, book, contentEl) {
|
|||
// This occurs enough times it's better to do here than in one-off fixes. We correct the single instance where
|
||||
// it's incorrect to capitalize in the one-off fixes.
|
||||
// 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(/([Tt])he clairvoyant([^s])/g, "$1he Clairvoyant$2");
|
||||
|
||||
// ReSound's name is sometimes miscapitalized. The word is never used in a non-name context.
|
||||
xml = xml.replace(/Resound/g, "ReSound");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue