This commit is contained in:
Aevann1 2021-10-07 08:24:59 +02:00
parent 1dc911b3ba
commit 3c807190f6
2 changed files with 7 additions and 7 deletions

View file

@ -351,7 +351,7 @@ def filter_title(title):
# sanitize title
title = bleach.clean(title, tags=[])
for i in re.finditer(':(.{1,30}?):', title):
for i in re.finditer('(?<!"):([^ ]{1,30}?):', title):
emoji = i.group(1)
if emoji.startswith("!"):