Fix missing spaces after commas

This commit is contained in:
Domenic Denicola 2020-11-07 17:39:13 -05:00
commit 6cdf486858
2 changed files with 3 additions and 4 deletions

View file

@ -262,6 +262,9 @@ function getBodyXML(chapter, book, contentEl) {
xml = xml.replace(/I-I/g, "I—I");
xml = xml.replace(/I-uh/g, "I—uh");
// Fix missing spaces after commas
xml = xml.replace(/([a-zA-Z]+),([a-zA-Z]+)/g, "$1, $2");
// Joint names should use em dashes
xml = xml.replace(/Dallon-Pelham/g, "DallonPelham");
xml = xml.replace(/Bet-Gimel/g, "BetGimel");

View file

@ -2754,10 +2754,6 @@
"before": "fighting. But.",
"after": "fighting. But…"
},
{
"before": "r,s",
"after": "r, s"
},
{
"before": "—But I have",
"after": "—but I have"