Fix <em>(space)word</em> and Jess possessive
This commit is contained in:
parent
1fcdd9611d
commit
4559265286
2 changed files with 2 additions and 14 deletions
|
|
@ -150,6 +150,7 @@ function getBodyXML(chapter, contentEl) {
|
|||
xml = xml.replace(/<em>([a-z]+)\?<\/em>/g, "<em>$1</em>?");
|
||||
xml = xml.replace(/<em>([^>]+?)( +)<\/em>/g, "<em>$1</em>$2");
|
||||
xml = xml.replace(/<p>“<em>([^>]+)”<\/em><\/p>/g, "<p>“<em>$1</em>”</p>");
|
||||
xml = xml.replace(/<em> ([a-zA-Z]+)<\/em>/g, " <em>$1</em>");
|
||||
|
||||
// Fix recurring poor quotes and apostrophes
|
||||
xml = xml.replace(/<p>”/g, "<p>“");
|
||||
|
|
@ -168,6 +169,7 @@ function getBodyXML(chapter, contentEl) {
|
|||
// Fix possessive of names ending in "s"
|
||||
xml = xml.replace(/Judas’([^s])/g, "Judas’s$1");
|
||||
xml = xml.replace(/Brutus’([^s])/g, "Brutus’s$1");
|
||||
xml = xml.replace(/Jess’([^s])/g, "Jess’s$1");
|
||||
|
||||
// Fixes dashes
|
||||
xml = xml.replace(/ – /g, "—");
|
||||
|
|
|
|||
|
|
@ -843,12 +843,6 @@
|
|||
"after": "countermeasures,” I said, “we"
|
||||
}
|
||||
],
|
||||
"https://parahumans.wordpress.com/2012/10/02/prey-14-9/": [
|
||||
{
|
||||
"before": "<em> could</em>",
|
||||
"after": " <em>could</em>"
|
||||
}
|
||||
],
|
||||
"https://parahumans.wordpress.com/2012/10/09/prey-14-11/": [
|
||||
{
|
||||
"before": "belt: He",
|
||||
|
|
@ -1088,10 +1082,6 @@
|
|||
}
|
||||
],
|
||||
"https://parahumans.wordpress.com/2013/01/08/migration-17-1/": [
|
||||
{
|
||||
"before": "a<em> little</em>",
|
||||
"after": "a <em>little</em>"
|
||||
},
|
||||
{
|
||||
"before": "an earthquake” Luke",
|
||||
"after": "an earthquake,” Luke"
|
||||
|
|
@ -1757,10 +1747,6 @@
|
|||
}
|
||||
],
|
||||
"https://parahumans.wordpress.com/2013/06/08/crushed-24-1/": [
|
||||
{
|
||||
"before": "a<em> pair</em>",
|
||||
"after": "a <em>pair</em>"
|
||||
},
|
||||
{
|
||||
"before": "both of you” I said",
|
||||
"after": "both of you,” I said"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue