Fix #576 yet again

This commit is contained in:
Raphael Michel
2017-08-08 23:02:45 +02:00
parent ca1b1032eb
commit 349e306d38
2 changed files with 3 additions and 3 deletions

View File

@@ -168,7 +168,7 @@ def render_mail(template, context):
if context:
body = body.format_map(TolerantDict(context))
body_md = bleach.linkify(bleach.clean(markdown.markdown(body), tags=bleach.ALLOWED_TAGS + [
'p',
'p', 'pre'
]))
else:
tpl = get_template(template)