Allow <s> in markdown

This commit is contained in:
Raphael Michel
2023-12-05 15:31:20 +01:00
parent 859df96afc
commit 6fc76d4122
2 changed files with 3 additions and 1 deletions

View File

@@ -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::

View File

@@ -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 + [