Use en dashes for joint constructions
This commit is contained in:
parent
bb5c652a3d
commit
f300159db3
1 changed files with 26 additions and 0 deletions
|
|
@ -269,6 +269,32 @@ function getBodyXML(chapter, contentEl) {
|
|||
xml = xml.replace(/I-I/g, "I—I");
|
||||
xml = xml.replace(/I-uh/g, "I—uh");
|
||||
|
||||
// Joint names should use em dashes
|
||||
xml = xml.replace(/Dallon-Pelham/g, "Dallon–Pelham");
|
||||
xml = xml.replace(/Bet-Gimel/g, "Bet–Gimel");
|
||||
xml = xml.replace(/Tristan-Capricorn/g, "Tristan–Capricorn");
|
||||
xml = xml.replace(/Capricorn-Byron/g, "Capricorn–Byron");
|
||||
xml = xml.replace(/Tristan-Byron/g, "Tristan–Byron");
|
||||
xml = xml.replace(/Earth-Gimel/g, "Earth–Gimel");
|
||||
xml = xml.replace(/Gimel-Europe/g, "Gimel–Europe");
|
||||
xml = xml.replace(/Imp-Damsel/g, "Imp–Damsel");
|
||||
xml = xml.replace(/Damsel-Ashley/g, "Damsel–Ashley");
|
||||
xml = xml.replace(/Antares-Anelace/g, "Antares–Anelace");
|
||||
xml = xml.replace(/Challenger-Gallant/g, "Challenger–Gallant");
|
||||
xml = xml.replace(/Undersider(s?)-(Breakthrough|Ambassador)/g, "Undersider$1–$2");
|
||||
xml = xml.replace(/Norwalk-Fairfield/g, "Norwalk–Fairfield");
|
||||
xml = xml.replace(/East-West/g, "east–west");
|
||||
xml = xml.replace(/(Green|Yellow)-Black/g, "$1–Black");
|
||||
xml = xml.replace(/Creutzfeldt-Jakob/g, "Creutzfeldt–Jakob");
|
||||
xml = xml.replace(/Astaroth-Nidhug/g, "Astaroth–Nidhug");
|
||||
xml = xml.replace(/Capulet-Montague/g, "Capulet–Montague");
|
||||
xml = xml.replace(/Weaver-Clockblocker/g, "Weaver–Clockblocker");
|
||||
xml = xml.replace(/Alexandria-Pretender/g, "Alexandria–Pretender");
|
||||
xml = xml.replace(/Night Hag-Nyx/g, "Night Hag–Nyx");
|
||||
xml = xml.replace(/Crawler-Breed/g, "Crawler–Breed");
|
||||
xml = xml.replace(/Simurgh-Myrddin-plant/g, "Simurgh–Myrddin–plant");
|
||||
xml = xml.replace(/Armsmaster-Defiant/g, "Armsmaster–Defiant");
|
||||
|
||||
// Use <hr> for separators
|
||||
// https://www.parahumans.net/2019/12/21/interlude-18-z-radiation/ has "super-separators" ("⊙ ⊙ ⊙ ⊙ ⊙") which we
|
||||
// leave untouched for now.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue