🐛 修复文本替换,同步测试用文件内容

This commit is contained in:
Azide
2024-02-22 18:45:27 +08:00
committed by felinae98
parent 60812c2167
commit 4cfa672b82
7 changed files with 78 additions and 51 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ class Arknights(NewMessage):
data = ArkBulletinResponse.parse_obj(raw_data.json()).data
def title_escape(text: str) -> str:
return text.replace("\n", " - ")
return text.replace("\\n", " - ")
# gen title, content
if data.header: