Standardize on "Jotun" instead of "Jotunn"

This commit is contained in:
Domenic Denicola 2020-11-23 19:09:40 -05:00
commit ea19dbb6c5

View file

@ -345,6 +345,9 @@ function standardizeNames(xml) {
// Earlier chapters have a space; later ones do not. They're separate words, so side with the earlier chapters.
xml = xml.replace(/Crock o[]Shit/g, "Crock o Shit");
// 5 instances of "Jotun" to 2 of "Jotunn"
xml = xml.replace(/Jotunn/g, "Jotun");
return xml;
}