From 39ad149be6ec3b3b91a50f409a5f0213feecaf9a Mon Sep 17 00:00:00 2001 From: teury Date: Wed, 2 Jan 2019 15:39:37 -0400 Subject: [PATCH] settings id append --- src/wiki/conf/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wiki/conf/settings.py b/src/wiki/conf/settings.py index a677ec46..7472a33f 100644 --- a/src/wiki/conf/settings.py +++ b/src/wiki/conf/settings.py @@ -102,6 +102,7 @@ for tag in MARKDOWN_HTML_WHITELIST: if tag not in _default_attribute_whitelist: _default_attribute_whitelist[tag] = [] _default_attribute_whitelist[tag].append('class') + _default_attribute_whitelist[tag].append('id') _default_attribute_whitelist[tag].append('target') _default_attribute_whitelist[tag].append('rel') -- 2.45.2