mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 07:27:15 +08:00
fix:对telegram发送标题进行转义
This commit is contained in:
@@ -237,6 +237,8 @@ class Telegram:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
if title:
|
||||||
|
title = self.escape_markdown(title)
|
||||||
if text:
|
if text:
|
||||||
# 对text进行Markdown特殊字符转义
|
# 对text进行Markdown特殊字符转义
|
||||||
text = self.escape_markdown(text)
|
text = self.escape_markdown(text)
|
||||||
|
|||||||
Reference in New Issue
Block a user