1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Remove pinned version dependencies

This commit is contained in:
jeremystretch
2023-04-27 14:04:30 -04:00
parent a2f4fce5b3
commit b3efb14176
3 changed files with 5 additions and 9 deletions

View File

@@ -491,14 +491,14 @@ def clean_html(html, schemes):
Also takes a list of allowed URI schemes.
"""
ALLOWED_TAGS = [
ALLOWED_TAGS = {
"div", "pre", "code", "blockquote", "del",
"hr", "h1", "h2", "h3", "h4", "h5", "h6",
"ul", "ol", "li", "p", "br",
"strong", "em", "a", "b", "i", "img",
"table", "thead", "tbody", "tr", "th", "td",
"dl", "dt", "dd",
]
}
ALLOWED_ATTRIBUTES = {
"div": ['class'],