Fix opening quotes inside quotes to apostrophes instead
This commit is contained in:
parent
2e4a3e56dc
commit
d12c48976b
2 changed files with 1 additions and 10 deletions
|
|
@ -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, "");
|
||||
|
|
|
|||
|
|
@ -4985,12 +4985,6 @@
|
|||
"after": "discuss goals,” Jessica said, “we think"
|
||||
}
|
||||
],
|
||||
"https://www.parahumans.net/2018/05/29/eclipse-x-4/": [
|
||||
{
|
||||
"before": "ma‘am",
|
||||
"after": "ma’am"
|
||||
}
|
||||
],
|
||||
"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": "‘can‘t’",
|
||||
"after": "‘can’t’"
|
||||
},
|
||||
{
|
||||
"before": "The Western of the two half-castles",
|
||||
"after": "The western of the two half-castles"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue