This commit is contained in:
Aevann1 2021-11-04 17:20:10 +02:00
parent fe551f0700
commit 14b8fb0f6b
6 changed files with 12 additions and 27 deletions

View file

@ -113,8 +113,6 @@ def send_unblock_notif(vid, user, text):
def send_admin(vid, text):
text = re.sub('([^\n])\n([^\n])', r'\1\n\n\2', text)
text_html = Renderer().render(mistletoe.Document(text))
text_html = sanitize(text_html, True)