remotes/1693045480750635534/spooky-22
Aevann1 2021-10-06 11:12:58 +02:00
parent 683b1dbf50
commit d563e377e1
1 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ def sanitize(sanitized, noimages=False):
for i in re.finditer("[^a]>\s*(:!?\w+:\s*)+<\/", sanitized):
old = i.group(0)
if 'marseylong' in old: new = old.lower().replace(">", " style='margin-bottom:0 !important'>")
else: new = old.lower()
for i in re.finditer('\w*(?<!"):([^ ]{1,30}?):', new):
emoji = i.group(1).lower()
if emoji.startswith("!"):