Always lowercase "the Wardens’ headquarters"
This commit is contained in:
parent
326ec148c9
commit
13b25835ba
2 changed files with 8 additions and 0 deletions
|
|
@ -480,6 +480,10 @@ function fixCapitalization(xml, book) {
|
||||||
xml = xml.replace(/(?<!mom), dad(?![a-z])/g, ", Dad");
|
xml = xml.replace(/(?<!mom), dad(?![a-z])/g, ", Dad");
|
||||||
xml = xml.replace(/, mom(?![a-z-])/g, ", Mom");
|
xml = xml.replace(/, mom(?![a-z-])/g, ", Mom");
|
||||||
|
|
||||||
|
// The majority of "Wardens’ headquarters" is lowercased, and always prefixed with "the", indicating it's not a proper
|
||||||
|
// place name. So we remove the capitalization in the few places where it does appear.
|
||||||
|
xml = xml.replace(/Wardens’ Headquarters/g, "Wardens’ headquarters");
|
||||||
|
|
||||||
return xml;
|
return xml;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5898,6 +5898,10 @@
|
||||||
{
|
{
|
||||||
"before": "Hardboil",
|
"before": "Hardboil",
|
||||||
"after": "Hard Boil"
|
"after": "Hard Boil"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"before": "Sveta added a, “No,” for good measure",
|
||||||
|
"after": "Sveta added a “no” for good measure"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"https://www.parahumans.net/2018/12/01/polarize-10-11/": [
|
"https://www.parahumans.net/2018/12/01/polarize-10-11/": [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue