mirror of
https://github.com/cdryzun/tg_bot_collections.git
synced 2025-08-05 13:16:42 +08:00
Merge pull request #57 from yihong0618/fix/search
fix: escape charaters
This commit is contained in:
@ -119,7 +119,7 @@ def search_command(message: Message, bot: TeleBot):
|
|||||||
message_text = telegramify_markdown.markdownify("\n".join(items))
|
message_text = telegramify_markdown.markdownify("\n".join(items))
|
||||||
bot.reply_to(
|
bot.reply_to(
|
||||||
message,
|
message,
|
||||||
f"🔍 *搜索结果(只显示前 {limit} 个):*\n{message_text}",
|
f"🔍 *搜索结果\\(只显示前 {limit} 个\\):*\n{message_text}",
|
||||||
parse_mode="MarkdownV2",
|
parse_mode="MarkdownV2",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user