Always capitalize "Dauntless Titan"

This commit is contained in:
Domenic Denicola 2020-11-23 16:14:35 -05:00
commit 3284c04f8b

View file

@ -436,6 +436,10 @@ function fixCapitalization(xml, book) {
// The Speedrunners team name is missing its capitalization a couple times.
xml = xml.replace(/speedrunners/g, "Speedrunners");
// Dauntless is a cape name. The majority of the time "Dauntless Titan" is fully capitalized, but either word
// sometimes is missing its capitalization.
xml = xml.replace(/dauntless titan/ig, "Dauntless Titan");
// Capitalization is inconsistent, but shard names seems to usually be capitalized.
xml = xml.replace(/Grasping self/g, "Grasping Self");
xml = xml.replace(/Cloven stranger/g, "Cloven Stranger");