From d715734353ade9ca5043ee545dccfeeb2dbb5aa1 Mon Sep 17 00:00:00 2001 From: Linus E <75929322+Rripped@users.noreply.github.com> Date: Thu, 12 May 2022 09:28:37 +0200 Subject: [PATCH] added more markdown symbols --- telegram_bot/helper_functions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/telegram_bot/helper_functions.py b/telegram_bot/helper_functions.py index 1262d54..ca6d4d2 100644 --- a/telegram_bot/helper_functions.py +++ b/telegram_bot/helper_functions.py @@ -57,6 +57,8 @@ def make_markdown_proof(text): # used to avoid errors related to markdown parse text = text.replace("^", "\\^") text = text.replace("$", "\\$") text = text.replace("%", "\\%") + text = text.replace("=", "\\=") + text = text.replace("@", "\\@") return text