Refactor wiki (#34805)

Remove unclear code
This commit is contained in:
wxiaoguang authored and GitHub committed 2025-06-22 18:53:33 +08:00
1 parent 94c6d46faa
commit f114c388ff
12 files changed
+71 -173

No files matched your search

+1 -1
View File
@@ -195,7 +195,7 @@ func (telegramConvertor) WorkflowJob(p *api.WorkflowJobPayload) (TelegramPayload
func createTelegramPayloadHTML(msgHTML string) TelegramPayload {
// https://core.telegram.org/bots/api#formatting-options
return TelegramPayload{
Message: strings.TrimSpace(markup.Sanitize(msgHTML)),
Message: strings.TrimSpace(string(markup.Sanitize(msgHTML))),
ParseMode: "HTML",
DisableWebPreview: true,
}