Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2807dfa

Browse files
committed
[HtmlSanitizer] Fix wrong method name
1 parent 682108b commit 2807dfa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

html_sanitizer.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ Safe elements
278278
->sanitizer('app.post_sanitizer')
279279
// enable either of these
280280
->allowSafeElements(true)
281-
->allowAllStaticElements(true)
281+
->allowStaticElements(true)
282282
;
283283
};
284284
@@ -291,7 +291,7 @@ Safe elements
291291
(new HtmlSanitizerConfig())
292292
// enable either of these
293293
->allowSafeElements()
294-
->allowAllStaticElements()
294+
->allowStaticElements()
295295
);
296296
297297
Allow Elements

0 commit comments

Comments
 (0)