Tweak he asked/she asked replacement
This commit is contained in:
parent
a4e722ddea
commit
33aaecb2ce
1 changed files with 2 additions and 2 deletions
|
|
@ -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, ".</p>");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue