diff --git a/files/helpers/const.py b/files/helpers/const.py index 3f532ef2c..24672cb20 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -873,7 +873,7 @@ strikethrough_regex = re.compile('''~{1,2}([^~]+)~{1,2}''', flags=re.A) mute_regex = re.compile("/mute @([a-z0-9_\-]{3,25}) ([0-9])+", flags=re.A) -emoji_regex = re.compile(f"[^a]>\s*(:[!#@]{{0,3}}[{valid_username_chars}]+:\s*)+<\/", flags=re.A) +emoji_regex = re.compile(f"

\s*(:[!#@]{{0,3}}[{valid_username_chars}]+:\s*)+<\/p>", flags=re.A) emoji_regex2 = re.compile(f"(?