From efa1d2683e90447986ce343f29b60a5546a1a95d Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Wed, 22 May 2019 08:17:01 +0200 Subject: [PATCH] rich_text: allow a[class] --- src/pretix/base/templatetags/rich_text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/base/templatetags/rich_text.py b/src/pretix/base/templatetags/rich_text.py index 43d4905d08..fac04063d2 100644 --- a/src/pretix/base/templatetags/rich_text.py +++ b/src/pretix/base/templatetags/rich_text.py @@ -47,7 +47,7 @@ ALLOWED_TAGS = [ ] ALLOWED_ATTRIBUTES = { - 'a': ['href', 'title'], + 'a': ['href', 'title', 'class'], 'abbr': ['title'], 'acronym': ['title'], 'table': ['width'],