master
Aevann1 2022-01-21 23:14:45 +02:00
parent 6dc7b55f4d
commit 386b2ddc43
1 changed files with 0 additions and 1 deletions

View File

@ -184,7 +184,6 @@ def sanitize(sanitized, noimages=False, alert=False, comment=False, edit=False):
emojis = list(re.finditer("[^a]>\s*(:[!#]{0,2}\w+:\s*)+<\/", sanitized))
if len(emojis) > 20: edit = True
for i in emojis:
print(i)
old = i.group(0)
if 'marseylong1' in old or 'marseylong2' in old or 'marseyllama1' in old or 'marseyllama2' in old: new = old.lower().replace(">", " class='mb-0'>")
else: new = old.lower()