@@ -242,7 +242,7 @@ Safe elements
242242 app.post_sanitizer :
243243 # enable either of these
244244 allow_safe_elements : true
245- allow_all_static_elements : true
245+ allow_static_elements : true
246246
247247 .. code-block :: xml
248248
@@ -257,12 +257,12 @@ Safe elements
257257
258258 <framework : config >
259259 <framework : html-sanitizer >
260- <!-- allow-safe-elements/allow-all- static-elements:
260+ <!-- allow-safe-elements/allow-static-elements:
261261 enable either of these -->
262262 <framework : sanitizer
263263 name =" app.post_sanitizer"
264264 allow-safe-elements =" true"
265- allow-all- static-elements =" true"
265+ allow-static-elements =" true"
266266 />
267267 </framework : html-sanitizer >
268268 </framework : config >
@@ -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
@@ -332,7 +332,7 @@ attributes from the `W3C Standard Proposal`_ are allowed.
332332
333333 <framework : config >
334334 <framework : html-sanitizer >
335- <!-- allow-safe-elements/allow-all- static-elements:
335+ <!-- allow-safe-elements/allow-static-elements:
336336 enable either of these -->
337337 <framework : sanitizer name =" app.post_sanitizer" >
338338 <!-- allow the <article> element and 2 attributes -->
0 commit comments