From 3284c04f8b6b42023192e6e556d26f9febc303b9 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Mon, 23 Nov 2020 16:14:35 -0500 Subject: [PATCH] Always capitalize "Dauntless Titan" --- lib/convert-worker.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/convert-worker.js b/lib/convert-worker.js index a580dfd..9aa7cbd 100644 --- a/lib/convert-worker.js +++ b/lib/convert-worker.js @@ -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");