Fix end-of-line commas that should be periods.
This commit is contained in:
parent
ee76715935
commit
79efec7080
2 changed files with 6 additions and 4 deletions
|
|
@ -203,6 +203,8 @@ function getBodyXML(chapter, book, contentEl) {
|
|||
xml = xml.replace(/‘([Kk])ay(?!’)/g, "’$1ay");
|
||||
xml = xml.replace(/<em>(Why|What|Who|How|Where|When)<\/em>\?/g, "<em>$1?</em>");
|
||||
xml = xml.replace(/,<\/em>/g, "</em>,");
|
||||
xml = xml.replace(/,”<\/p>/g, ".”</p>");
|
||||
xml = xml.replace(/<p>(.*),<\/p>/g, "<p>$1.</p>");
|
||||
|
||||
// Similar problems occur in Ward with <b> and <strong> as do in Worm with <em>s
|
||||
xml = xml.replace(/<b \/>/g, "");
|
||||
|
|
|
|||
|
|
@ -3967,10 +3967,6 @@
|
|||
"before": "‘lowed to do that, ‘miright",
|
||||
"after": "’lowed to do that, ’miright"
|
||||
},
|
||||
{
|
||||
"before": "path was clear,",
|
||||
"after": "path was clear."
|
||||
},
|
||||
{
|
||||
"before": "hard, don’t you</em>?",
|
||||
"after": "hard, don’t you?</em>"
|
||||
|
|
@ -6229,6 +6225,10 @@
|
|||
{
|
||||
"before": "Foil-Hookline",
|
||||
"after": "Foil–Hookline"
|
||||
},
|
||||
{
|
||||
"before": "“Fired through a hole I made in my fist.</p>",
|
||||
"after": "“Fired through a hole I made in my fist.”</p>"
|
||||
}
|
||||
],
|
||||
"https://www.parahumans.net/2019/02/05/blinding-11-12/": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue