Fix inconsistently-bolded colons in Ward text conversations
This commit is contained in:
parent
8daeebe507
commit
aea63ba055
1 changed files with 1 additions and 0 deletions
|
|
@ -208,6 +208,7 @@ function getBodyXML(chapter, book, contentEl) {
|
|||
xml = xml.replace(/<strong>@<\/strong>/g, "@");
|
||||
xml = xml.replace(/<br \/>(\s*)<\/strong>/g, "</strong><br />$1");
|
||||
xml = xml.replace(/(\s*)<\/strong>/g, "</strong>$1");
|
||||
xml = xml.replace(/><strong>(.*)<\/strong>:</g, "><strong>$1:</strong></");
|
||||
|
||||
// No need for line breaks before paragraph ends
|
||||
// These often occur with the <br>s inside <b>/<strong>/<em>/<i> fixed above.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue