Always capitalize "the Megalopolis"

This commit is contained in:
Domenic Denicola 2020-10-31 17:41:13 -04:00
commit ff09d1fd76

View file

@ -387,6 +387,7 @@ function getBodyXML(chapter, book, contentEl) {
xml = xml.replace(/(Lord|Slater) street/g, "$1 Street");
xml = xml.replace(/(Hollow|Cedar) point/g, "$1 Point");
xml = xml.replace(/(Norwalk|Fenway|Stratford) station/g, "$1 Station");
xml = xml.replace(/the megalopolis/g, "the Megalopolis");
// These are usually not italicized, but sometimes are. Other foreign-language names (like Yàngbǎn) are not
// italicized, so we go in the direction of removing the italics.