Browse Source

Re-enable unsafe tags as they are needed for emoji

pull/1342/head
Gabe Kangas 4 years ago
parent
commit
3618a28240
  1. 1
      core/chat/events/events.go

1
core/chat/events/events.go

@ -95,6 +95,7 @@ func RenderAndSanitize(raw string) string { @@ -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(

Loading…
Cancel
Save