From b483898bec96a4ffe0bd4a6a96e05f58eabf2b2f Mon Sep 17 00:00:00 2001 From: Eldar Kerimkhanov Date: Wed, 1 Oct 2025 01:41:18 +0700 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D1=84=D1=83=D0=BD=D0=BA=D1=86=D0=B8=D1=8E=20=D1=81=20markdown?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index afe7dab..9a5b426 100644 --- a/app/main.py +++ b/app/main.py @@ -128,7 +128,7 @@ async def get_video_file_id(message): await bot.reply_to(message, response_text, parse_mode='HTML') - +# Добавил функцию, чтобы избегать ошибок с markdown символами def escape_chars_safe(text): chars_to_escape = ['_', '*', '`'] for char in chars_to_escape: