Skip to content

Commit

Permalink
Fix escape warning
Browse files Browse the repository at this point in the history
  • Loading branch information
VikParuchuri committed Nov 28, 2024
1 parent a580d56 commit 46345b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tabled/formats/markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


def replace_special_chars(text):
return text.replace("|", "\|").replace("-", "\-")
return text.replace("|", "\\|").replace("-", "\\-")


def replace_all(text):
Expand Down

0 comments on commit 46345b6

Please sign in to comment.