diff options
author | 2020-01-12 12:39:42 +0100 | |
---|---|---|
committer | 2020-01-12 12:39:42 +0100 | |
commit | acc8b5e5de72e63c37959cd4e62b1e6e462b25ee (patch) | |
tree | 0e3ec2b9a6b45785d764f5e445626662618cbab6 /pydis_site/settings.py | |
parent | Merge branch 'bot#549-show-attachments-staff' of https://github.com/python-di... (diff) | |
parent | Adding iframe attributes to attribute whitelist (diff) |
Merge branch 'master' into bot#549-show-attachments-staff
Diffstat (limited to 'pydis_site/settings.py')
-rw-r--r-- | pydis_site/settings.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pydis_site/settings.py b/pydis_site/settings.py index 66376c4e..72cc0ab9 100644 --- a/pydis_site/settings.py +++ b/pydis_site/settings.py @@ -373,10 +373,11 @@ WIKI_MARKDOWN_HTML_ATTRIBUTES = { 'img': ['class', 'id', 'src', 'alt', 'width', 'height'], 'section': ['class', 'id'], 'article': ['class', 'id'], + 'iframe': ['width', 'height', 'src', 'frameborder', 'allow', 'allowfullscreen'], } WIKI_MARKDOWN_HTML_WHITELIST = [ - 'article', 'section', 'button' + 'article', 'section', 'button', 'iframe' ] |