From 06c6a04c973320c462a054ceb2e0c5a6ffaefb42 Mon Sep 17 00:00:00 2001 From: Sascha Voth Date: Fri, 20 Dec 2024 17:00:06 +0100 Subject: [PATCH] replace html entities with emojis to prevent rendering issues --- alerting/provider/teamsworkflows/teamsworkflows.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/alerting/provider/teamsworkflows/teamsworkflows.go b/alerting/provider/teamsworkflows/teamsworkflows.go index 98daba8f..6ab5db14 100644 --- a/alerting/provider/teamsworkflows/teamsworkflows.go +++ b/alerting/provider/teamsworkflows/teamsworkflows.go @@ -147,7 +147,7 @@ func (provider *AlertProvider) buildRequestBody(cfg *Config, ep *endpoint.Endpoi } // Configure default title if it's not provided - title := "⛑ Gatus" + title := "⛑️ Gatus" if cfg.Title != "" { title = cfg.Title } @@ -157,9 +157,9 @@ func (provider *AlertProvider) buildRequestBody(cfg *Config, ep *endpoint.Endpoi for _, conditionResult := range result.ConditionResults { var key string if conditionResult.Success { - key = "✅" + key = "✅" } else { - key = "❌" + key = "❌" } facts = append(facts, Fact{ Title: key,