Fix incorrect over-substitution of "TV" in place of "tv"

Ward contains several instances of words that contain "tv", which shouldn't get capitalized.
This commit is contained in:
Domenic Denicola 2020-10-22 20:57:01 -04:00
commit 68eabd0ca0
2 changed files with 7 additions and 1 deletions

View file

@ -368,7 +368,7 @@ function getBodyXML(chapter, contentEl) {
xml = xml.replace(/the birdcage/g, "the Birdcage");
// This is usually spelled "TV" but sometimes the other ways. Normalize.
xml = xml.replace(/tv/g, "TV");
xml = xml.replace(/(\b)tv(\b)/g, "$1TV$2");
xml = xml.replace(/T\.V\./g, "TV");
// There's no reason why these should be capitalized. (Note that they never appear at the beginning of any sentences.)

View file

@ -4683,6 +4683,12 @@
"after": "lost my grip on him, and my hand"
}
],
"https://www.parahumans.net/2018/04/07/shadow-interlude-5-x/": [
{
"before": "objectvity",
"after": "objectivity"
}
],
"https://www.parahumans.net/2018/04/21/pitch-6-3/": [
{
"before": "wall of bodies. the woman behind",