diff options
author | 2020-02-08 10:50:42 -0800 | |
---|---|---|
committer | 2020-02-08 10:50:42 -0800 | |
commit | f0926f248f539bd51099a1824c92256cbf4ad527 (patch) | |
tree | 01b2c0560aaa13499636055f1df79455dbc38928 /pydis_site/settings.py | |
parent | Fix #299: use GitHub link to issues in README.md (diff) | |
parent | Merge pull request #326 from python-discord/resources-update (diff) |
Merge branch 'master' into fix-infraction-validator
Diffstat (limited to 'pydis_site/settings.py')
-rw-r--r-- | pydis_site/settings.py | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/pydis_site/settings.py b/pydis_site/settings.py index 66376c4e..65ef2463 100644 --- a/pydis_site/settings.py +++ b/pydis_site/settings.py @@ -360,24 +360,7 @@ WIKI_MESSAGE_TAG_CSS_CLASS = { messages.WARNING: "is-warning", } -WIKI_MARKDOWN_HTML_STYLES = [ - 'max-width', - 'min-width', - 'margin', - 'padding', - 'width', - 'height', -] - -WIKI_MARKDOWN_HTML_ATTRIBUTES = { - 'img': ['class', 'id', 'src', 'alt', 'width', 'height'], - 'section': ['class', 'id'], - 'article': ['class', 'id'], -} - -WIKI_MARKDOWN_HTML_WHITELIST = [ - 'article', 'section', 'button' -] +WIKI_MARKDOWN_SANITIZE_HTML = False # Wiki permissions |