From 0d9994cbff5884da6412b8607cb68fc8d97bccf1 Mon Sep 17 00:00:00 2001 From: Moncef Abboud Date: Sun, 17 Mar 2024 11:13:55 +0100 Subject: [PATCH] feat: allow using `details` and `summary` HTML tags --- html_xblock/__init__.py | 2 +- html_xblock/bleaching.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/html_xblock/__init__.py b/html_xblock/__init__.py index c3ffa9d..f3b5cc6 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.6" +__version__ = "1.3.7" diff --git a/html_xblock/bleaching.py b/html_xblock/bleaching.py index 801c9ce..46262fe 100644 --- a/html_xblock/bleaching.py +++ b/html_xblock/bleaching.py @@ -80,6 +80,8 @@ def _get_allowed_tags(self): 'u', 'style', 'iframe', + 'details', + 'summary', } if self.allow_javascript: