Fix some mismatched quotes (not just at the end of a paragraph)

This commit is contained in:
Domenic Denicola 2015-05-20 22:52:38 -04:00
commit cfe04bb049
2 changed files with 31 additions and 0 deletions

View file

@ -156,6 +156,7 @@ function getBodyXml(chapter, contentEl) {
xml = xml.replace(/(!|\?|\.) <\/em><\/p>/g, "$1</em></p>");
// Fix recurring poor quotes and apostrophes
xml = xml.replace(/<p>”/g, "<p>“");
xml = xml.replace(/“\s*<\/p>/g, "”</p>");
xml = xml.replace(/“\s*<\/em><\/p>/g, "”</em></p>");
xml = xml.replace(/\s*<\/p>/g, "</p>");

View file

@ -1,10 +1,20 @@
{
"https://parahumans.wordpress.com/2011/08/06/interlude-2/": [
{
"before": "sue you, he gasped",
"after": "sue you,” he gasped"
},
{
"before": "<em>principles, </em>Glory",
"after": "<em>principles</em>, Glory"
}
],
"https://parahumans.wordpress.com/2011/09/13/agitation-3-11/": [
{
"before": "weapon of all,“ Tattletale purred",
"after": "weapon of all,” Tattletale purred"
}
],
"https://parahumans.wordpress.com/2011/12/03/hive-5-9/": [
{
"before": "insult. An exc</em>use to trounce me physically<em>.</em>",
@ -29,12 +39,24 @@
"after": "was… how"
}
],
"https://parahumans.wordpress.com/2012/07/03/plague-12-3/": [
{
"before": "Noelle, “ Trickster said",
"after": "Noelle,” Trickster said"
}
],
"https://parahumans.wordpress.com/2012/08/11/snare-13-5/": [
{
"before": "<em>similar. </em>",
"after": "<em>similar</em>. "
}
],
"https://parahumans.wordpress.com/2012/08/18/snare-13-7/": [
{
"before": "three…</em>“ My swarm",
"after": "three…</em>” My swarm"
}
],
"https://parahumans.wordpress.com/2012/09/11/prey-14-3/": [
{
"before": "truck reached<br/>\nthe other Nine",
@ -237,6 +259,10 @@
{
"before": "they<em> did, but how we</em> dealt",
"after": "they <em>did</em>, but <em>how</em> we dealt"
},
{
"before": "<em>That</em>, Tattletale said",
"after": "<em>That</em>,” Tattletale said"
}
],
"https://parahumans.wordpress.com/2013/03/16/interlude-19-y/": [
@ -289,6 +315,10 @@
{
"before": "said, “Is to set",
"after": "said, “is to set"
},
{
"before": "<em>But.</em>“ He",
"after": "<em>But.</em>” He"
}
],
"https://parahumans.wordpress.com/2013/05/18/interlude-22/": [