Fix missing spaces after commas
This commit is contained in:
parent
e364cb2b22
commit
6cdf486858
2 changed files with 3 additions and 4 deletions
|
|
@ -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, "Dallon–Pelham");
|
||||
xml = xml.replace(/Bet-Gimel/g, "Bet–Gimel");
|
||||
|
|
|
|||
|
|
@ -2754,10 +2754,6 @@
|
|||
"before": "fighting. But.",
|
||||
"after": "fighting. But…"
|
||||
},
|
||||
{
|
||||
"before": "r,s",
|
||||
"after": "r, s"
|
||||
},
|
||||
{
|
||||
"before": "—But I have",
|
||||
"after": "—but I have"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue