fix:对telegram发送标题进行转义

This commit is contained in:
noone
2025-09-24 14:29:42 +08:00
parent 566e597994
commit 41f94a172f

View File

@@ -237,6 +237,8 @@ class Telegram:
return False
try:
if title:
title = self.escape_markdown(title)
if text:
# 对text进行Markdown特殊字符转义
text = self.escape_markdown(text)