diff --git a/doc/user/markdown.rst b/doc/user/markdown.rst index 75c11cd939..5873d785d1 100644 --- a/doc/user/markdown.rst +++ b/doc/user/markdown.rst @@ -145,7 +145,7 @@ to get a better plain text representation of your text. Note however, that for security reasons you can only use the following HTML elements:: a, abbr, acronym, b, br, code, div, em, h1, h2, - h3, h4, h5, h6, hr, i, li, ol, p, pre, span, strong, + h3, h4, h5, h6, hr, i, li, ol, p, pre, s, span, strong, table, tbody, td, thead, tr, ul Additionally, only the following attributes are allowed on them:: diff --git a/src/pretix/base/templatetags/rich_text.py b/src/pretix/base/templatetags/rich_text.py index ee2d5703ef..d2324ef07f 100644 --- a/src/pretix/base/templatetags/rich_text.py +++ b/src/pretix/base/templatetags/rich_text.py @@ -65,6 +65,8 @@ ALLOWED_TAGS_SNIPPET = [ 'i', 'strong', 'span', + 'strike', + 's', # Update doc/user/markdown.rst if you change this! ] ALLOWED_TAGS = ALLOWED_TAGS_SNIPPET + [