From 53c8f64e890fb87c4846035c7c34a49998ae8f4a Mon Sep 17 00:00:00 2001 From: Leon Sandøy Date: Wed, 10 Jul 2019 00:50:23 +0200 Subject: Allowing section and article tags in the wiki articles --- pydis_site/settings.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pydis_site/settings.py') 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'], +} -- cgit v1.2.3