forked from CGM_Public/pretix_original
Fix markup in emails: Consistently allow <pre> in markdown content
This commit is contained in:
@@ -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::
|
security reasons you can only use the following HTML elements::
|
||||||
|
|
||||||
a, abbr, acronym, b, br, code, div, em, h1, h2,
|
a, abbr, acronym, b, br, code, div, em, h1, h2,
|
||||||
h3, h4, h5, h6, hr, i, li, ol, p, span, strong,
|
h3, h4, h5, h6, hr, i, li, ol, p, pre, span, strong,
|
||||||
table, tbody, td, thead, tr, ul
|
table, tbody, td, thead, tr, ul
|
||||||
|
|
||||||
Additionally, only the following attributes are allowed on them::
|
Additionally, only the following attributes are allowed on them::
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ ALLOWED_TAGS = [
|
|||||||
'h4',
|
'h4',
|
||||||
'h5',
|
'h5',
|
||||||
'h6',
|
'h6',
|
||||||
|
'pre',
|
||||||
# Update doc/user/markdown.rst if you change this!
|
# Update doc/user/markdown.rst if you change this!
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user