Fix backward closing single quotation marks
This commit is contained in:
parent
33d88eb523
commit
6ee5fb9ef6
2 changed files with 3 additions and 18 deletions
|
|
@ -196,6 +196,7 @@ function getBodyXML(chapter, book, contentEl) {
|
|||
fixEms();
|
||||
fixQuotesAndApostrophes();
|
||||
fixEms();
|
||||
xml = xml.replace(/‘<em>([^<]+)<\/em>‘/g, "‘<em>$1</em>’");
|
||||
xml = xml.replace(/I”m/g, "I’m");
|
||||
|
||||
// Similar problems occur in Ward with <b> and <strong> as do in Worm with <em>s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue