Normalize a few instances of "T-shirt" to "t-shirt"
The latter is overwhelmingly more common.
This commit is contained in:
parent
b85e8a68b1
commit
e364cb2b22
1 changed files with 3 additions and 0 deletions
|
|
@ -423,6 +423,9 @@ function getBodyXML(chapter, book, contentEl) {
|
|||
// Clich(e|é) is spelled both ways. Let's standardize on including the accent.
|
||||
xml = xml.replace(/cliche/g, "cliché");
|
||||
|
||||
// T-shirt is usually spelled lowercase ("t-shirt"). Normalize the remaining instances.
|
||||
xml = xml.replace(/T-shirt/g, "t-shirt");
|
||||
|
||||
// "gray" is the majority spelling, except for "greyhound"
|
||||
xml = xml.replace(/(G|g)rey(?!hound)/g, "$1ray");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue