Remove HTML escape

This commit is contained in:
Astra 2026-02-16 17:59:08 +00:00
parent 4c0d7b7c6e
commit 7275b93666

View file

@ -97,7 +97,7 @@ func (bot *Bot) HandleAdminCommands(update *api.Update) {
fmt.Sprintf("Admin Chat ID: <b>%d</b>", update.Message.Chat.ID), fmt.Sprintf("Admin Chat ID: <b>%d</b>", update.Message.Chat.ID),
fmt.Sprintf("Admin Topic ID: <b>%d</b>", *bot.Config.AdminChatTopicId), fmt.Sprintf("Admin Topic ID: <b>%d</b>", *bot.Config.AdminChatTopicId),
fmt.Sprintf("Target Chat ID: <b>%s</b>", targetChatID), fmt.Sprintf("Target Chat ID: <b>%s</b>", targetChatID),
fmt.Sprintf("Entry Message: %s", utils.EscapeHTML(bot.Config.EntryMessage)), fmt.Sprintf("Entry Message: %s", bot.Config.EntryMessage),
fmt.Sprintf("Approval Message: %s", bot.Config.ApprovalMessage)) fmt.Sprintf("Approval Message: %s", bot.Config.ApprovalMessage))
utils.SendMessage(bot.API, update.Message.Chat.ID, update.Message.MessageThreadID, infoMsg) utils.SendMessage(bot.API, update.Message.Chat.ID, update.Message.MessageThreadID, infoMsg)
} }