fdgf
parent
683b1dbf50
commit
d563e377e1
|
@ -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("!"):
|
||||
|
|
Loading…
Reference in New Issue