diff --git a/files/helpers/regex.py b/files/helpers/regex.py index 77bcfeaab..75b367fb9 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -48,7 +48,7 @@ sub_regex = re.compile('(?|")~{1,2}([^~]+)~{1,2}' + NOT_IN_CODE_OR_LINKS, flags=re.A) -mute_regex = re.compile("\/mute @?([\w\-]{3,30}) ([0-9]+)", flags=re.A|re.I) +mute_regex = re.compile("\/mute @?([\w\-]{1,30}) ([0-9]+)", flags=re.A|re.I) emoji_regex = re.compile(f"

\s*(:[!#@\w\-]{{1,72}}:\s*)+<\/p>", flags=re.A) emoji_regex2 = re.compile(f'(?|[^`]*`))', flags=re.A) diff --git a/files/templates/submit_emojis.html b/files/templates/submit_emojis.html index 0208036b4..de0549b38 100644 --- a/files/templates/submit_emojis.html +++ b/files/templates/submit_emojis.html @@ -38,7 +38,7 @@ - + diff --git a/files/templates/submit_hats.html b/files/templates/submit_hats.html index d0f87f929..49cc570a1 100644 --- a/files/templates/submit_hats.html +++ b/files/templates/submit_hats.html @@ -28,7 +28,7 @@ - +