mirror of
https://github.com/haiwen/seahub.git
synced 2025-05-11 17:34:56 +00:00
update bleach.clean tags
This commit is contained in:
parent
3729e83a3d
commit
cfd7002b14
@ -32,7 +32,7 @@ from seahub.seadoc.utils import get_seadoc_file_uuid
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
# https://github.com/yourcelf/bleach-whitelist/blob/master/bleach_whitelist/bleach_whitelist.py#L61
|
||||
markdown_tags = [
|
||||
markdown_tags = {
|
||||
"h1", "h2", "h3", "h4", "h5", "h6",
|
||||
"b", "i", "strong", "em", "tt",
|
||||
"p", "pre", "br",
|
||||
@ -42,7 +42,7 @@ markdown_tags = [
|
||||
"a",
|
||||
"sub", "sup",
|
||||
"table", "thead", "tbody", "tr", "th", "td",
|
||||
]
|
||||
}
|
||||
|
||||
markdown_attrs = {
|
||||
"*": ["id", "class", "width", "height"],
|
||||
|
@ -4,6 +4,6 @@ mock
|
||||
nose
|
||||
exam
|
||||
splinter
|
||||
pytest
|
||||
pytest==7.4.4
|
||||
pytest-django
|
||||
selenium
|
||||
|
Loading…
Reference in New Issue
Block a user