dfs
This commit is contained in:
parent
afb96c7d60
commit
276d7e498b
3 changed files with 3 additions and 3 deletions
|
@ -269,7 +269,7 @@ def sanitize(sanitized, noimages=False, alert=False, comment=False, edit=False):
|
|||
|
||||
def filter_emojis_only(title, edit=False):
|
||||
|
||||
title = title.replace('<','').replace("\n", "").replace("\r", "").replace("\t", "").strip()
|
||||
title = title.replace('<','<').replace('>','>').replace("\n", "").replace("\r", "").replace("\t", "").strip()
|
||||
|
||||
title = bleach.clean(title, tags=[])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue