[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2021-09-22 13:41:32 +00:00
parent 4ae4bec968
commit 24b347507a
1 changed files with 1 additions and 2 deletions

View File

@ -30,8 +30,7 @@ def escape_rst(text: str) -> str:
"""Rudimentary attempt to escape special RST characters to appear as
plain text."""
text = (
text
.replace("*", "\\*")
text.replace("*", "\\*")
.replace("<", "\\<")
.replace(">", "\\>")
.replace("`", "\\`")