De-italicize some commas
This commit is contained in:
parent
5d9a031c02
commit
08e0d0d9a8
1 changed files with 1 additions and 0 deletions
|
|
@ -209,6 +209,7 @@ function getBodyXML(chapter, book, contentEl) {
|
||||||
xml = xml.replace(/,”<\/p>/g, ".”</p>");
|
xml = xml.replace(/,”<\/p>/g, ".”</p>");
|
||||||
xml = xml.replace(/<p>(.*),<\/p>/g, "<p>$1.</p>");
|
xml = xml.replace(/<p>(.*),<\/p>/g, "<p>$1.</p>");
|
||||||
xml = xml.replace(/‘(\w+)‘(\w+)’/g, "‘$1’$2’");
|
xml = xml.replace(/‘(\w+)‘(\w+)’/g, "‘$1’$2’");
|
||||||
|
xml = xml.replace(/<em>([a-z]+), ([a-z]+)<\/em>/g, "<em>$1</em>, <em>$2</em>");
|
||||||
|
|
||||||
// Similar problems occur in Ward with <b> and <strong> as do in Worm with <em>s
|
// Similar problems occur in Ward with <b> and <strong> as do in Worm with <em>s
|
||||||
xml = xml.replace(/<b \/>/g, "");
|
xml = xml.replace(/<b \/>/g, "");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue