Skip to content

Commit

Permalink
[MM-60408] Replaced chars with HTML entities in reminder posts (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
raghavaggarwal2308 authored Nov 12, 2024
1 parent 12efca2 commit 22296c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calendar/engine/views/calendar.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 22296c0

Please sign in to comment.