Skip to content

Commit 9804ddf

Browse files
committed
cleanup
1 parent 64917dc commit 9804ddf

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/sanitization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ However, it may be the only option for some users as [nh3] is a set of Python bi
5454
## Sanitizing on the Command Line
5555

5656
Both Python-Markdown and JustHTML provide command line interfaces which read
57-
from STDIN and write to STDOUT. Therefore, they can be used togeather to
57+
from STDIN and write to STDOUT. Therefore, they can be used together to
5858
ensure that the output from untrusted input is properly sanitized.
5959

6060
```sh

markdown/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ def convertFile(
422422
easy way to sanitize the output from Python code. Therefore, it is
423423
recommended that the `Markdown.convertFile` method not be used on input
424424
from an untrusted source. For more information see [Sanitizing HTML
425-
Output](sanitization.md).
425+
Output](../../sanitization.md).
426426
427427
"""
428428

@@ -495,7 +495,7 @@ def markdown(text: str, **kwargs: Any) -> str:
495495
The Python-Markdown library does ***not*** sanitize its HTML output.
496496
If you are processing Markdown input from an untrusted source, it is your
497497
responsibility to ensure that it is properly sanitized. For more
498-
information see [Sanitizing HTML Output](sanitization.md).
498+
information see [Sanitizing HTML Output](../../sanitization.md).
499499
500500
"""
501501
md = Markdown(**kwargs)
@@ -522,7 +522,7 @@ def markdownFromFile(**kwargs: Any):
522522
easy way to sanitize the output from Python code. Therefore, it is
523523
recommended that the `markdown.markdownFromFile` function not be used on input
524524
from an untrusted source. For more information see [Sanitizing HTML
525-
Output](sanitization.md).
525+
Output](../../sanitization.md).
526526
527527
"""
528528
md = Markdown(**kwargs)

0 commit comments

Comments
 (0)