gfddg
This commit is contained in:
parent
3da777faf4
commit
af29b69e91
1 changed files with 2 additions and 2 deletions
|
@ -225,9 +225,9 @@ def sanitize(sanitized, noimages=False):
|
||||||
else: session["favorite_emojis"][emoji] = 1
|
else: session["favorite_emojis"][emoji] = 1
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
old = "<p>" + i.group(0).lower()
|
old = "<p>" + i.group(0).lower() + "</p>"
|
||||||
print(old)
|
print(old)
|
||||||
new = '<p style="margin-bottom:0 !important>' + emojis
|
new = '<p style="margin-bottom:0 !important">' + emojis + "</p>"
|
||||||
print(new)
|
print(new)
|
||||||
sanitized = sanitized.replace(old, new)
|
sanitized = sanitized.replace(old, new)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue