@@ -36,11 +36,11 @@ method appropriately ([see below](#convert)).
36
36
sanitization in popular software] for notes on best practices to ensure
37
37
HTML is properly sanitized.
38
38
39
- The developers of Python-Markdown recommend using [nh3] or [bleach][ ][^1]
39
+ The developers of Python-Markdown recommend using [` nh3`][nh3] or [` bleach`][bleach ][^1]
40
40
as a sanitizer on the output of `markdown.markdown`. However, be
41
41
aware that those libraries may not be sufficient in themselves and will
42
42
likely require customization. Some useful lists of allowed tags and
43
- attributes can be found in the [bleach-allowlist] library, which should
43
+ attributes can be found in the [`bleach-allowlist`][ bleach-allowlist] library, which should
44
44
work with either sanitizer.
45
45
46
46
@@ -251,12 +251,12 @@ __encoding__{: #encoding }
251
251
sanitization in popular software] for notes on best practices to ensure
252
252
HTML is properly sanitized.
253
253
254
- The developers of Python-Markdown recommend using [nh3] or [bleach][ ]
255
- [^1] as a sanitizer on the output of `markdown.markdownFromFile`.
254
+ The developers of Python-Markdown recommend using [` nh3`][nh3] or [` bleach`][bleach][^1 ]
255
+ as a sanitizer on the output of `markdown.markdownFromFile`.
256
256
However, be aware that those libraries may not be sufficient in
257
257
themselves and will likely require customization. Some useful lists of
258
258
allowed tags and attributes can be found in the
259
- [bleach-allowlist] library, which should work with either sanitizer.
259
+ [`bleach-allowlist`][ bleach-allowlist] library, which should work with either sanitizer.
260
260
261
261
### ` markdown.Markdown([**kwargs]) ` {: #Markdown data-toc-label='markdown.Markdown' }
262
262
@@ -309,11 +309,11 @@ html3 = md.reset().convert(text3)
309
309
sanitization in popular software] for notes on best practices to ensure
310
310
HTML is properly sanitized.
311
311
312
- The developers of Python-Markdown recommend using [nh3] or [bleach][ ]
313
- [^1] as a sanitizer on the output of `Markdown.convert`. However, be
312
+ The developers of Python-Markdown recommend using [` nh3`][nh3] or [` bleach`][bleach][^1 ]
313
+ as a sanitizer on the output of `Markdown.convert`. However, be
314
314
aware that those libraries may not be sufficient in themselves and will
315
315
likely require customization. Some useful lists of allowed tags and
316
- attributes can be found in the [bleach-allowlist] library, which should
316
+ attributes can be found in the [`bleach-allowlist`][ bleach-allowlist] library, which should
317
317
work with either sanitizer.
318
318
319
319
#### ` Markdown.convertFile(**kwargs) ` {: #convertFile data-toc-label='Markdown.convertFile' }
@@ -335,9 +335,9 @@ each document. State may need to be `reset` between each call to
335
335
sanitization in popular software] for notes on best practices to ensure
336
336
HTML is properly sanitized.
337
337
338
- The developers of Python-Markdown recommend using [nh3] or [bleach][ ]
339
- [^1] as a sanitizer on the output of `Markdown.convertFile`. However, be
338
+ The developers of Python-Markdown recommend using [` nh3`][nh3] or [` bleach`][bleach][^1 ]
339
+ as a sanitizer on the output of `Markdown.convertFile`. However, be
340
340
aware that those libraries may not be sufficient in themselves and will
341
341
likely require customization. Some useful lists of allowed tags and
342
- attributes can be found in the [bleach-allowlist] library, which should
342
+ attributes can be found in the [`bleach-allowlist`][ bleach-allowlist] library, which should
343
343
work with either sanitizer.
0 commit comments