mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
PEP fixes
This commit is contained in:
parent
919662054c
commit
f0933f216c
@ -173,19 +173,19 @@ MARKDOWNX_MEDIA_PATH = datetime.now().strftime('markdownx/%Y/%m/%d')
|
|||||||
# Ref: https://django-markdownify.readthedocs.io/en/latest/settings.html
|
# Ref: https://django-markdownify.readthedocs.io/en/latest/settings.html
|
||||||
|
|
||||||
MARKDOWNIFY_WHITELIST_TAGS = [
|
MARKDOWNIFY_WHITELIST_TAGS = [
|
||||||
'a',
|
'a',
|
||||||
'abbr',
|
'abbr',
|
||||||
'b',
|
'b',
|
||||||
'blockquote',
|
'blockquote',
|
||||||
'em',
|
'em',
|
||||||
'h1', 'h2', 'h3',
|
'h1', 'h2', 'h3',
|
||||||
'i',
|
'i',
|
||||||
'img',
|
'img',
|
||||||
'li',
|
'li',
|
||||||
'ol',
|
'ol',
|
||||||
'p',
|
'p',
|
||||||
'strong',
|
'strong',
|
||||||
'ul'
|
'ul'
|
||||||
]
|
]
|
||||||
|
|
||||||
MARKDOWNIFY_WHITELIST_ATTRS = [
|
MARKDOWNIFY_WHITELIST_ATTRS = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user