[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
4ae4bec968
commit
24b347507a
|
@ -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("`", "\\`")
|
||||
|
|
Loading…
Reference in New Issue