Fix opening quotes inside quotes to apostrophes instead

This commit is contained in:
Domenic Denicola 2020-11-29 16:55:34 -05:00
commit d12c48976b
2 changed files with 1 additions and 10 deletions

View file

@ -205,6 +205,7 @@ function getBodyXML(chapter, book, contentEl) {
xml = xml.replace(/,<\/em>/g, "</em>,");
xml = xml.replace(/,”<\/p>/g, ".”</p>");
xml = xml.replace(/<p>(.*),<\/p>/g, "<p>$1.</p>");
xml = xml.replace(/(\w+)(\w+)/g, "$1$2");
// Similar problems occur in Ward with <b> and <strong> as do in Worm with <em>s
xml = xml.replace(/<b \/>/g, "");

View file

@ -4985,12 +4985,6 @@
"after": "discuss goals,” Jessica said, “we think"
}
],
"https://www.parahumans.net/2018/05/29/eclipse-x-4/": [
{
"before": "maam",
"after": "maam"
}
],
"https://www.parahumans.net/2018/05/30/eclipse-x-5/": [
{
"before": "no words. and there",
@ -6864,10 +6858,6 @@
"before": "inter-earth",
"after": "inter-Earth"
},
{
"before": "cant",
"after": "cant"
},
{
"before": "The Western of the two half-castles",
"after": "The western of the two half-castles"