Standardize on one capitalization for "patrol block"
This commit is contained in:
parent
26b4cb07af
commit
84e0d83bd1
1 changed files with 4 additions and 0 deletions
|
|
@ -305,6 +305,10 @@ function getBodyXML(chapter, contentEl) {
|
|||
// ReSound's name is sometimes miscapitalized. The word is never used in a non-name context.
|
||||
xml = xml.replace(/Resound/g, "ReSound");
|
||||
|
||||
// "patrol block" is capitalized three different ways: "patrol block", "Patrol block", and "Patrol Block". I can see
|
||||
// arguments for any of them, so let's go with the most prevalent: "patrol block".
|
||||
xml = xml.replace(/([^ ]) Patrol (?:B|b)lock/g, "$1 patrol block");
|
||||
|
||||
// This is sometimes missing its capitalization.
|
||||
xml = xml.replace(/the birdcage/g, "the Birdcage");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue