diff --git a/Stardust/DingTalk/DingTalkClient.cs b/Stardust/DingTalk/DingTalkClient.cs index ab5103e5..15b8a588 100644 --- a/Stardust/DingTalk/DingTalkClient.cs +++ b/Stardust/DingTalk/DingTalkClient.cs @@ -63,9 +63,9 @@ public void SendText(String content, String[] mentions) public String FormatMarkdown(String text) { // 换行 - text = text.Replace(Environment.NewLine, "\n\n"); + text = text.Replace(Environment.NewLine, " \n "); // 经测试 手机不支持
后期支持了再删除 这要在放在处理完换行以后 - text = text.Replace("
", "\n"); + text = text.Replace("
", " \n "); // 经测试 手机不支持 只支持HEX值 text = text.Replace("", "");