@@ -242,7 +242,7 @@ Safe elements
242
242
app.post_sanitizer :
243
243
# enable either of these
244
244
allow_safe_elements : true
245
- allow_all_static_elements : true
245
+ allow_static_elements : true
246
246
247
247
.. code-block :: xml
248
248
@@ -257,12 +257,12 @@ Safe elements
257
257
258
258
<framework : config >
259
259
<framework : html-sanitizer >
260
- <!-- allow-safe-elements/allow-all- static-elements:
260
+ <!-- allow-safe-elements/allow-static-elements:
261
261
enable either of these -->
262
262
<framework : sanitizer
263
263
name =" app.post_sanitizer"
264
264
allow-safe-elements =" true"
265
- allow-all- static-elements =" true"
265
+ allow-static-elements =" true"
266
266
/>
267
267
</framework : html-sanitizer >
268
268
</framework : config >
@@ -278,7 +278,7 @@ Safe elements
278
278
->sanitizer('app.post_sanitizer')
279
279
// enable either of these
280
280
->allowSafeElements(true)
281
- ->allowAllStaticElements (true)
281
+ ->allowStaticElements (true)
282
282
;
283
283
};
284
284
@@ -291,7 +291,7 @@ Safe elements
291
291
(new HtmlSanitizerConfig())
292
292
// enable either of these
293
293
->allowSafeElements()
294
- ->allowAllStaticElements ()
294
+ ->allowStaticElements ()
295
295
);
296
296
297
297
Allow Elements
@@ -332,7 +332,7 @@ attributes from the `W3C Standard Proposal`_ are allowed.
332
332
333
333
<framework : config >
334
334
<framework : html-sanitizer >
335
- <!-- allow-safe-elements/allow-all- static-elements:
335
+ <!-- allow-safe-elements/allow-static-elements:
336
336
enable either of these -->
337
337
<framework : sanitizer name =" app.post_sanitizer" >
338
338
<!-- allow the <article> element and 2 attributes -->
0 commit comments