rich_text: allow a[class]

This commit is contained in:
Raphael Michel
2019-05-22 08:17:01 +02:00
parent 9b39d34f81
commit efa1d2683e

View File

@@ -47,7 +47,7 @@ ALLOWED_TAGS = [
] ]
ALLOWED_ATTRIBUTES = { ALLOWED_ATTRIBUTES = {
'a': ['href', 'title'], 'a': ['href', 'title', 'class'],
'abbr': ['title'], 'abbr': ['title'],
'acronym': ['title'], 'acronym': ['title'],
'table': ['width'], 'table': ['width'],