small comment
This commit is contained in:
parent
e03087510a
commit
c6352c5f75
@ -33,8 +33,8 @@ def make_markdown_proof(text): # used to avoid errors related to markdown parsem
|
||||
:rtype: string
|
||||
"""
|
||||
text = str(text)
|
||||
|
||||
text = text.replace("_", "\\_")
|
||||
|
||||
text = text.replace("_", "\\_") # replace _ with \_ because \ is used as escape character in markdown, double escape is needed because \ is also a escape character in strings
|
||||
text = text.replace("*", "\\*")
|
||||
text = text.replace("`", "\\`")
|
||||
text = text.replace("[", "\\[")
|
||||
|
Loading…
Reference in New Issue
Block a user