diff --git a/se/spelling.py b/se/spelling.py index 3c43c288..1678079f 100644 --- a/se/spelling.py +++ b/se/spelling.py @@ -463,6 +463,7 @@ def modernize_spelling(xhtml: str) -> str: xhtml = regex.sub(r"\b([Aa])nnexe\b", r"\1nnex", xhtml) # annexe -> annex xhtml = regex.sub(r"([^\p{Letter}])([Dd])amn’([^\p{Letter}])", r"\1\2amn\3", xhtml) # damn' -> damn xhtml = regex.sub(r"Hallowe’en", r"Halloween", xhtml) # Hallowe’en -> Halloween + xhtml = regex.sub(r"’([Pp])lane\b", r"\1lane", xhtml) # 'plane -> plane # Normalize some names