diff --git a/lib/convert-worker.js b/lib/convert-worker.js index c0305d5..d0fc0c9 100644 --- a/lib/convert-worker.js +++ b/lib/convert-worker.js @@ -288,15 +288,19 @@ function getBodyXML(chapter, book, contentEl) { xml = xml.replace(/Simurgh-Myrddin-plant/g, "Simurgh–Myrddin–plant"); xml = xml.replace(/Armsmaster-Defiant/g, "Armsmaster–Defiant"); - // Use
■<\/p>/g, "
■<\/p>/g, "
⊙<\/p>/g, "
⊙<\/strong><\/p>/g, " ⊙<\/strong><\/em><\/p>/g, " ⊙⊙<\/strong><\/p>/g, " ]*)>■<\/p>/g, ` ■ ⊙<\/p>/g, ` ⊙ ⊙<\/strong><\/p>/g, ` ⊙ ⊙<\/strong><\/em><\/p>/g,
+ ` ⊙ ⊙⊙<\/strong><\/p>/g,
+ ` ⊙ ⊙ *⊙ *⊙ *⊙ *⊙<\/strong><\/p>/g,
+ ` ⊙ ⊙ ⊙ ⊙ ⊙ Brief note from the author: This story isn’t intended for young or sensitive readers. Readers who are on the lookout for trigger warnings are advised to give Worm a pass. Brief note from the author: This story isn’t intended for young or sensitive readers. Readers who are on the lookout for trigger warnings are advised to give Worm a pass. ■ 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. ⊙ I don’t",
+ "before": " ⊙ I don’t",
"after": " I don’t"
},
{
");
- xml = xml.replace(/
");
- xml = xml.replace(/
");
+ // Normalize scene breaks.
would be more semantically appropriate, but loses the author's intent. This is
+ // especially the case in Ward, which uses a variety of different scene breaks.
+ xml = xml.replace(/
\n",
+ "before": "
",
+ "before": "
\n