diff options
author | 2019-07-10 01:08:11 +0200 | |
---|---|---|
committer | 2019-07-10 01:08:11 +0200 | |
commit | d0752e58900704a496fc0377787e6701b81cbaad (patch) | |
tree | 32e4cca9e3ed345bd8f2f1f2befbcc13b343b6b7 /pydis_site | |
parent | Allowing section and article tags in the wiki articles (diff) |
Whitelisting section and article
Diffstat (limited to 'pydis_site')
-rw-r--r-- | pydis_site/settings.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pydis_site/settings.py b/pydis_site/settings.py index d1123073..2ea4a656 100644 --- a/pydis_site/settings.py +++ b/pydis_site/settings.py @@ -334,3 +334,7 @@ WIKI_MARKDOWN_HTML_ATTRIBUTES = { 'section': ['class', 'id'], 'article': ['class', 'id'], } + +WIKI_MARKDOWN_HTML_WHITELIST = [ + 'article', 'section' +] |