diff --git a/html_sanitizer.rst b/html_sanitizer.rst index b412a49f321..5a02ee3990b 100644 --- a/html_sanitizer.rst +++ b/html_sanitizer.rst @@ -318,6 +318,8 @@ attributes from the `W3C Standard Proposal`_ are allowed. img: 'src' # allow the

element with all safe attributes h1: '*' + # allow the
element with no attributes + div: [] .. code-block:: xml