From c78c78f183d64806abb541c184a3dcd5617436d8 Mon Sep 17 00:00:00 2001 From: Tomas Date: Wed, 1 Jun 2022 08:15:49 +0300 Subject: [PATCH] [HtmlSanitizer] Fix wrong method name --- html_sanitizer.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/html_sanitizer.rst b/html_sanitizer.rst index ab7ba7bc875..55d80d65d90 100644 --- a/html_sanitizer.rst +++ b/html_sanitizer.rst @@ -242,7 +242,7 @@ Safe elements app.post_sanitizer: # enable either of these allow_safe_elements: true - allow_all_static_elements: true + allow_static_elements: true .. code-block:: xml @@ -257,12 +257,12 @@ Safe elements - @@ -278,7 +278,7 @@ Safe elements ->sanitizer('app.post_sanitizer') // enable either of these ->allowSafeElements(true) - ->allowAllStaticElements(true) + ->allowStaticElements(true) ; }; @@ -291,7 +291,7 @@ Safe elements (new HtmlSanitizerConfig()) // enable either of these ->allowSafeElements() - ->allowAllStaticElements() + ->allowStaticElements() ); Allow Elements @@ -332,7 +332,7 @@ attributes from the `W3C Standard Proposal`_ are allowed. -