Skip to content

Commit 3cbcebc

Browse files
committed
cleanup spelling
1 parent b97d58a commit 3cbcebc

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

docs/reference.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ method appropriately ([see below](#convert)).
3636
sanitization in popular software] for notes on best practices to ensure
3737
HTML is properly sanitized.
3838

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]
4040
as a sanitizer on the output of `markdown.markdown`. However, be
4141
aware that those libraries may not be sufficient in themselves and will
4242
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
4444
work with either sanitizer.
4545

4646

@@ -251,12 +251,12 @@ __encoding__{: #encoding }
251251
sanitization in popular software] for notes on best practices to ensure
252252
HTML is properly sanitized.
253253

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`.
256256
However, be aware that those libraries may not be sufficient in
257257
themselves and will likely require customization. Some useful lists of
258258
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.
260260

261261
### `markdown.Markdown([**kwargs])` {: #Markdown data-toc-label='markdown.Markdown' }
262262

@@ -309,11 +309,11 @@ html3 = md.reset().convert(text3)
309309
sanitization in popular software] for notes on best practices to ensure
310310
HTML is properly sanitized.
311311

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
314314
aware that those libraries may not be sufficient in themselves and will
315315
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
317317
work with either sanitizer.
318318

319319
#### `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
335335
sanitization in popular software] for notes on best practices to ensure
336336
HTML is properly sanitized.
337337

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
340340
aware that those libraries may not be sufficient in themselves and will
341341
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
343343
work with either sanitizer.

0 commit comments

Comments
 (0)