mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Allow the align property on th and td and add CSS rules for overriding text-alignment
This commit is contained in:
committed by
Jeremy Stretch
parent
0276f29067
commit
4b2922312a
@ -519,6 +519,8 @@ def clean_html(html, schemes):
|
||||
"h1": ["id"], "h2": ["id"], "h3": ["id"], "h4": ["id"], "h5": ["id"], "h6": ["id"],
|
||||
"a": ["href", "title"],
|
||||
"img": ["src", "title", "alt"],
|
||||
"th": ["align"],
|
||||
"td": ["align"],
|
||||
}
|
||||
|
||||
return bleach.clean(
|
||||
|
Reference in New Issue
Block a user