From e1bdfd7e4e89eba6bc8220bf13e8353925ac0028 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Thu, 22 Jun 2017 12:16:09 +0200 Subject: [PATCH] Allow headlines with markdown --- src/pretix/base/templatetags/rich_text.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/pretix/base/templatetags/rich_text.py b/src/pretix/base/templatetags/rich_text.py index 27d219bb4..7995e879c 100644 --- a/src/pretix/base/templatetags/rich_text.py +++ b/src/pretix/base/templatetags/rich_text.py @@ -27,7 +27,13 @@ ALLOWED_TAGS = [ 'td', 'th', 'div', - 'span' + 'span', + 'h1', + 'h2', + 'h3', + 'h4', + 'h5', + 'h6', ] ALLOWED_ATTRIBUTES = {