diff --git a/files/helpers/slurs_and_profanities.py b/files/helpers/slurs_and_profanities.py index 3422502ae..37cd3ef33 100644 --- a/files/helpers/slurs_and_profanities.py +++ b/files/helpers/slurs_and_profanities.py @@ -137,10 +137,11 @@ def sub_matcher(match, X_FOR_REPLACING): return match_str else: repl = X_FOR_REPLACING[match_str.lower()] - if match_str.isupper(): - return repl.upper() - if match_str.istitle(): - return repl.title() + if "