diff --git a/lib/convert.js b/lib/convert.js index 5d861a2..07c4919 100644 --- a/lib/convert.js +++ b/lib/convert.js @@ -233,8 +233,14 @@ function getBodyXML(chapter, contentEl) { xml = xml.replace(/I-uh/g, "I—uh"); // Use
■<\/p>/g, "
■<\/p>/g, "
⊙<\/p>/g, "
⊙<\/strong><\/p>/g, " ⊙<\/strong><\/em><\/p>/g, " ⊙<\/strong>⊙<\/strong><\/p>/g, " Ward is the second work in the Parahumans series, and reading Worm first is strongly recommended. A lot of this won’t make sense otherwise and if you do find yourself a fan of the universe, the spoilers in Ward will affect the reading of the other work. Ward is not recommended for young or sensitive readers. ⊙ Ward is the second work in the Parahumans series, and reading Worm first is strongly recommended. A lot of this won’t make sense otherwise and if you do find yourself a fan of the universe, the spoilers in Ward will affect the reading of the other work. Ward is not recommended for young or sensitive readers.
");
+ xml = xml.replace(/
");
+ xml = xml.replace(/
");
// Fix recurring miscapitalization with questions
xml = xml.replace(/\?”\s\s?She asked/g, "?” she asked");
diff --git a/lib/substitutions.json b/lib/substitutions.json
index da54b70..b45d7cf 100644
--- a/lib/substitutions.json
+++ b/lib/substitutions.json
@@ -4118,7 +4118,7 @@
],
"https://www.parahumans.net/2017/09/11/daybreak-1-1/": [
{
- "before": "
",
"after": "",
"_comment": "This is out of place in an eBook."
},
@@ -4138,5 +4138,12 @@
"before": "blunt instrument-I saw the",
"after": "blunt instrument—I saw the"
}
+ ],
+ "https://www.parahumans.net/2018/05/26/torch-7-4/": [
+ {
+ "before": "",
+ "after": "",
+ "_comment": "This appears to be intentional, but it just duplicates the Next Chapter link (i.e. turning the page in the eBook), so we remove it"
+ }
]
}