diff options
author | 2020-01-06 13:43:06 +0100 | |
---|---|---|
committer | 2020-01-06 13:43:06 +0100 | |
commit | aeece0158dce335ca795c115f9975a5a7ff2163e (patch) | |
tree | 8ae027b55e9f1bebf2d66b5e3d7375fb2779170b | |
parent | Merge pull request #315 from python-discord/dependabot/pip/django-2.2.8 (diff) |
Adding iframes to HTML whitelist
This will allow us to put stuff like YouTube embeds in wiki articles... hopefully. I didn't test it.
-rw-r--r-- | pydis_site/settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/settings.py b/pydis_site/settings.py index 66376c4e..e8b71e76 100644 --- a/pydis_site/settings.py +++ b/pydis_site/settings.py @@ -376,7 +376,7 @@ WIKI_MARKDOWN_HTML_ATTRIBUTES = { } WIKI_MARKDOWN_HTML_WHITELIST = [ - 'article', 'section', 'button' + 'article', 'section', 'button', 'iframe' ] |