From 46345b60826255e32831662d1126caf26289c041 Mon Sep 17 00:00:00 2001 From: Vik Paruchuri Date: Thu, 28 Nov 2024 06:36:16 -0500 Subject: [PATCH] Fix escape warning --- tabled/formats/markdown.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabled/formats/markdown.py b/tabled/formats/markdown.py index 9049628..67244d2 100644 --- a/tabled/formats/markdown.py +++ b/tabled/formats/markdown.py @@ -7,7 +7,7 @@ def replace_special_chars(text): - return text.replace("|", "\|").replace("-", "\-") + return text.replace("|", "\\|").replace("-", "\\-") def replace_all(text):