Standardize on "Juliette" instead of "Juliet"

This commit is contained in:
Domenic Denicola 2020-11-29 17:22:36 -05:00
commit 6e59181524

View file

@ -352,6 +352,9 @@ function standardizeNames(xml) {
// 25 instances of "Amias" to 3 of "Amais"
xml = xml.replace(/Amais/g, "Amias");
// 185 instances of Juliette to 4 of Juliet
xml = xml.replace(/Juliet(?=\b)/g, "Juliette");
// Earlier chapters have a space; later ones do not. They're separate words, so side with the earlier chapters.
// One location is missing the "k".
xml = xml.replace(/Crock? o[]Shit/g, "Crock o Shit");