Remove erroneous hyphen in "preemptive(ly)"
This commit is contained in:
parent
6406a0f370
commit
ab28acfd9a
1 changed files with 3 additions and 0 deletions
|
|
@ -426,6 +426,9 @@ function getBodyXML(chapter, contentEl) {
|
|||
xml = xml.replace(/well armed/g, "well-armed");
|
||||
xml = xml.replace(/able bodied/g, "able-bodied");
|
||||
|
||||
// Preemptive(ly) is often hyphenated (not always). It should not be.
|
||||
xml = xml.replace(/([Pp])re-emptive/g, "$1reemptive");
|
||||
|
||||
// One-off fixes
|
||||
(substitutions[chapter.url] || []).forEach(substitution => {
|
||||
if (substitution.before) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue