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, ".

");