sfdfsd
This commit is contained in:
parent
1dc911b3ba
commit
3c807190f6
2 changed files with 7 additions and 7 deletions
|
@ -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("!"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue