diff --git a/lib/convert-worker.js b/lib/convert-worker.js index a943d8f..d90d750 100644 --- a/lib/convert-worker.js +++ b/lib/convert-worker.js @@ -196,6 +196,7 @@ function getBodyXML(chapter, book, contentEl) { fixEms(); xml = xml.replace(/‘([^<]+)<\/em>‘/g, "‘$1’"); xml = xml.replace(/I”m/g, "I’m"); + xml = xml.replace(/([a-z]+)!<\/em>/g, "$1!"); // Similar problems occur in Ward with and as do in Worm with s xml = xml.replace(//g, ""); diff --git a/lib/substitutions.json b/lib/substitutions.json index 9f0c45c..5485182 100644 --- a/lib/substitutions.json +++ b/lib/substitutions.json @@ -2282,6 +2282,10 @@ { "before": "volunteered, asked
\n
to", "after": "volunteered, asked to" + }, + { + "before": "happened to my daughter!?", + "after": "happened to my daughter!?" } ], "https://parahumans.wordpress.com/2012/10/25/interlude-15-donation-bonus-2/": [ @@ -2660,6 +2664,10 @@ { "before": "on his knees. he held the cigarette", "after": "on his knees. He held the cigarette" + }, + { + "before": "‘hief!", + "after": "’hief!" } ], "https://parahumans.wordpress.com/2013/01/19/queen-18-1/": [ @@ -3550,6 +3558,10 @@ { "before": "kill all of the Masters that are generating", "after": "kill all of the masters that are generating" + }, + { + "before": "—break up the fog!", + "after": "—break up the fog!" } ], "https://parahumans.wordpress.com/2013/08/06/interlude-26a/": [ @@ -4263,10 +4275,6 @@ "before": "Tattletale:
\nwaiting?", "after": "Tattletale: waiting?" }, - { - "before": "yes!", - "after": "yes!" - }, { "before": "Please, If you", "after": "Please, if you" @@ -5177,10 +5185,6 @@ { "before": "Keith said. “You decide", "after": "Keith said, “you decide" - }, - { - "before": "The towels!", - "after": "The towels!" } ], "https://www.parahumans.net/2018/07/03/beacon-8-1/": [ @@ -5348,10 +5352,6 @@ "before": "Natalie’s beetle", "after": "Natalie’s Beetle" }, - { - "before": "I said!", - "after": "I said!" - }, { "before": "adam’s apple", "after": "Adam’s apple" @@ -5512,10 +5512,6 @@ "before": "it was one thing!", "after": "It was one thing!" }, - { - "before": "as an anything!", - "after": "as an anything!" - }, { "before": "have backed you up!", "after": "have backed you up!" @@ -5834,14 +5830,6 @@ { "before": "they had Fallen behind", "after": "they had fallen behind" - }, - { - "before": "Fucking heroes!", - "after": "Fucking heroes!" - }, - { - "before": "the unfucked!", - "after": "the unfucked!" } ], "https://www.parahumans.net/2018/11/24/interlude-10-x/": [ @@ -6163,6 +6151,10 @@ { "before": "to Capricorn. then she looked", "after": "to Capricorn. Then she looked" + }, + { + "before": "fucking daughter!", + "after": "fucking daughter!" } ], "https://www.parahumans.net/2019/02/05/blinding-11-12/": [ @@ -6213,10 +6205,6 @@ { "before": "I need dad", "after": "I need Dad" - }, - { - "before": "Oh fuck!", - "after": "Oh fuck!" } ], "https://www.parahumans.net/2019/02/23/heavens-12-3/": [