From d0752e58900704a496fc0377787e6701b81cbaad Mon Sep 17 00:00:00 2001 From: Leon Sandøy Date: Wed, 10 Jul 2019 01:08:11 +0200 Subject: Whitelisting section and article --- pydis_site/settings.py | 4 ++++ 1 file changed, 4 insertions(+) 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' +] -- cgit v1.2.3