Replace hyphen-minus with em dash when preceding a question mark
This commit is contained in:
parent
ea19dbb6c5
commit
1da99791d3
1 changed files with 1 additions and 0 deletions
|
|
@ -367,6 +367,7 @@ function fixEmDashes(xml) {
|
|||
xml = xml.replace(/\s+—”/g, "—”");
|
||||
xml = xml.replace(/I-I/g, "I—I");
|
||||
xml = xml.replace(/I-uh/g, "I—uh");
|
||||
xml = xml.replace(/-\?/g, "—?");
|
||||
|
||||
return xml;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue