diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index fbd0bd0037..09ded14637 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -224,7 +224,9 @@ def sanitize(sanitized, noimages=False): else: session["favorite_emojis"][emoji] = 1 old = "
" + i.group(0) + "
" + print(old) new = "" + emojis + "
" + print(new) sanitized = sanitized.replace(old, new) for i in re.finditer('\w*(?