0

Re-enable unsafe tags as they are needed for emoji

This commit is contained in:
Gabe Kangas 2021-08-18 17:00:20 -07:00
parent 747e42f7cc
commit 3618a28240

View File

@ -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(