From 33aaecb2cece71b38657c26ca6b2ad6276343b99 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Wed, 20 May 2015 21:51:23 -0400 Subject: [PATCH] Tweak he asked/she asked replacement --- lib/convert.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/convert.js b/lib/convert.js index 43419c5..3f5c78b 100644 --- a/lib/convert.js +++ b/lib/convert.js @@ -173,8 +173,8 @@ function getBodyXml(chapter, contentEl) { xml = xml.replace(/\s?\s-/g, "—"); // Fix recurring miscapitalization with questions - xml = xml.replace(/\?”\s\s?She asked/g, "?” she asked"); - xml = xml.replace(/\?”\s\s?He asked/g, "?” he asked"); + xml = xml.replace(/\?”\s\s?She asked/g, "?” she asked"); + xml = xml.replace(/\?”\s\s?He asked/g, "?” he asked"); // Fix extra periods at the end of paragraphs xml = xml.replace(/\.\.<\/p>/g, ".

");