From 24a186a0d355b1abde0c878f74ef3a1f4f302eb0 Mon Sep 17 00:00:00 2001 From: raghavaggarwal2308 Date: Fri, 6 Sep 2024 16:00:23 +0530 Subject: [PATCH] [MM-60408] Replaced chars with HTML entities in reminder posts --- calendar/engine/views/calendar.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/engine/views/calendar.go b/calendar/engine/views/calendar.go index 8de7d2ce..23d0e535 100644 --- a/calendar/engine/views/calendar.go +++ b/calendar/engine/views/calendar.go @@ -199,7 +199,7 @@ func RenderEventAsAttachment(event *remote.Event, timezone string, options ...Op } attachment := &model.SlackAttachment{ - Title: event.Subject, + Title: MarkdownToHTMLEntities(event.Subject), TitleLink: titleLink, Text: fmt.Sprintf("%s - %s", event.Start.In(timezone).Time().Format(time.Kitchen), event.End.In(timezone).Time().Format(time.Kitchen)), Fields: fields,