remotes/1693045480750635534/spooky-22
Aevann1 2021-10-01 02:19:19 +02:00
parent c04baf329e
commit 0c15533f85
1 changed files with 2 additions and 0 deletions

View File

@ -224,7 +224,9 @@ def sanitize(sanitized, noimages=False):
else: session["favorite_emojis"][emoji] = 1
old = "<p>" + i.group(0) + "</p>"
print(old)
new = "<p style='margin-bottom:0 !important'>" + emojis + "</p>"
print(new)
sanitized = sanitized.replace(old, new)
for i in re.finditer('\w*(?<!"):([^ ]{1,30}?):', sanitized):