mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Fix #576 yet again
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user