From 3618a282401152a7b8b3ee9c8bb463daceea6d8d Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Wed, 18 Aug 2021 17:00:20 -0700 Subject: [PATCH] Re-enable unsafe tags as they are needed for emoji --- core/chat/events/events.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/chat/events/events.go b/core/chat/events/events.go index 241646ea3..3a3871393 100644 --- a/core/chat/events/events.go +++ b/core/chat/events/events.go @@ -95,6 +95,7 @@ func RenderAndSanitize(raw string) string { func RenderMarkdown(raw string) string { markdown := goldmark.New( goldmark.WithRendererOptions( + html.WithUnsafe(), html.WithHardWraps(), ), goldmark.WithExtensions(