master
Aevann1 2021-10-01 01:43:35 +02:00
parent a0ca3e6515
commit afe8ab131f
1 changed files with 2 additions and 2 deletions

View File

@ -225,9 +225,9 @@ def sanitize(sanitized, noimages=False):
else: session["favorite_emojis"][emoji] = 1
except:
pass
old = "<p>" + i.group(0).lower()
old = "<p>" + i.group(0).lower() + "</p>"
print(old)
new = '<p style="margin-bottom:0 !important>' + emojis
new = '<p style="margin-bottom:0 !important">' + emojis + "</p>"
print(new)
sanitized = sanitized.replace(old, new)