markdown: add some tags to bleach allowlist

This commit is contained in:
Darks 2021-02-23 23:25:20 +01:00
parent 53afccf2a3
commit f722d700c2
Signed by untrusted user: Darks
GPG Key ID: 7515644268BE1433
1 changed files with 2 additions and 2 deletions

View File

@ -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"],