diff options
author | 2019-07-10 00:50:23 +0200 | |
---|---|---|
committer | 2019-07-10 00:50:23 +0200 | |
commit | 53c8f64e890fb87c4846035c7c34a49998ae8f4a (patch) | |
tree | b139cd934d0b0a376799db3d403f4feea6d158a6 /pydis_site/settings.py | |
parent | Adding bulma-accordion to the django-simple-bulma extensions list (diff) |
Allowing section and article tags in the wiki articles
Diffstat (limited to 'pydis_site/settings.py')
-rw-r--r-- | pydis_site/settings.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pydis_site/settings.py b/pydis_site/settings.py index 677433e8..d1123073 100644 --- a/pydis_site/settings.py +++ b/pydis_site/settings.py @@ -328,3 +328,9 @@ WIKI_MARKDOWN_HTML_STYLES = [ 'width', 'height', ] + +WIKI_MARKDOWN_HTML_ATTRIBUTES = { + 'img': ['class', 'id', 'src', 'alt', 'width', 'height'], + 'section': ['class', 'id'], + 'article': ['class', 'id'], +} |