Escape '=' to produce valid markdown (#1)
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
0cd101954c
commit
df5296af42
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ def setup_logging(args):
|
||||||
|
|
||||||
|
|
||||||
def markdown_escape(text):
|
def markdown_escape(text):
|
||||||
for special_char in ['\\', '`', '*', '_', '{', '}', '[', ']', '(', ')', '#', '+', '-', '.', '!']:
|
for special_char in ['\\', '`', '*', '_', '{', '}', '[', ']', '(', ')', '#', '+', '-', '.', '!', '=']:
|
||||||
text = text.replace(special_char, fr'\{special_char}')
|
text = text.replace(special_char, fr'\{special_char}')
|
||||||
return text
|
return text
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue