Capitalize "Titans"
This commit is contained in:
parent
cc151355fd
commit
730cc512e3
1 changed files with 9 additions and 0 deletions
|
|
@ -561,6 +561,15 @@ function fixCapitalization(xml, book) {
|
|||
xml = xml.replace(/english(?! muffin)/g, "English");
|
||||
xml = xml.replace(/(?<! {2})English muffin/g, "english muffin");
|
||||
|
||||
// I was very torn on what to do with capitalization for "Titan" and "Titans". In general you don't capitalize species
|
||||
// names or other classifications, e.g. style guides are quite clear you don't capitalize "gods". The author
|
||||
// capitalizes them more often than not (e.g., 179 raw "Titans" to 49 "titans"), but is quite inconsistent. In the
|
||||
// end, I decided for capitalization, based on the precedent set by "Endbringers" (which are conceptually paired with
|
||||
// Titans several times in the text).
|
||||
if (book === "ward") {
|
||||
xml = xml.replace(/titans/g, "Titans");
|
||||
}
|
||||
|
||||
return xml;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue