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