From fdd1484c4839171b28397033e662ac0bbee32a06 Mon Sep 17 00:00:00 2001 From: Astra Date: Sun, 1 Mar 2026 09:47:11 +0000 Subject: [PATCH] Remove escapeHTML --- bot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.go b/bot.go index e640a8d..597acb0 100644 --- a/bot.go +++ b/bot.go @@ -419,7 +419,7 @@ func handleNewMessage(ctx context.Context, api *tg.Client, alertPeer *tg.InputPe // Build alert message with HTML formatting for markdown v2 matchMessageHTML := fmt.Sprintf("🚨 Matched\nScore: %.2f\nChat: %s (ID: %d)\nUser: %s (ID: %d)\n", - result.score, escapeMarkdown(chatName), chatID, escapeMarkdown(displayName+" ("+username+")"), senderID) + result.score, escapeMarkdown(chatName), chatID, displayName+" ("+username+")", senderID) // Send ntfy notification if config set (use plain text for ntfy) if cfg.NtfyToken != "" || cfg.NtfyTopic != "" {