diff --git a/app/utils/bleach_allowlist.py b/app/utils/bleach_allowlist.py index 7456a55..7468380 100644 --- a/app/utils/bleach_allowlist.py +++ b/app/utils/bleach_allowlist.py @@ -8,7 +8,7 @@ markdown_tags = [ "img", "a", "sub", "sup", - "table", "tbody", "tr", "th", "td", + "table", "thead", "tbody", "tr", "th", "td", "form", "fieldset", "input", "textarea", "label", "progress" ] @@ -17,7 +17,7 @@ markdown_attrs = { "*": ["id", "class"], "img": ["src", "alt", "title"], "a": ["href", "alt", "title"], - "form": ["action", "method"], + "form": ["action", "method", "enctype"], "input": ["id", "name", "type", "value"], "label": ["for"], "progress": ["value", "min", "max"],