From dc5fa5db7cb3a12406ccb79c4667d3d26dcc6abd Mon Sep 17 00:00:00 2001 From: Agrendalath Date: Thu, 8 Jun 2023 22:07:00 +0200 Subject: [PATCH] feat: allow using the HTML `style` tag --- html_xblock/__init__.py | 2 +- html_xblock/bleaching.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/html_xblock/__init__.py b/html_xblock/__init__.py index 4eb8235..14b8f6b 100644 --- a/html_xblock/__init__.py +++ b/html_xblock/__init__.py @@ -1,4 +1,4 @@ """HTML XBlock module.""" from .html import ExcludedHTML5XBlock, HTML5XBlock -__version__ = "1.3.3" +__version__ = "1.3.4" diff --git a/html_xblock/bleaching.py b/html_xblock/bleaching.py index 2315e41..9cf3a54 100644 --- a/html_xblock/bleaching.py +++ b/html_xblock/bleaching.py @@ -78,6 +78,7 @@ def _get_allowed_tags(self): 'thead', 'tr', 'u', + 'style', 'iframe', }