Re-enable unsafe tags as they are needed for emoji
This commit is contained in:
parent
747e42f7cc
commit
3618a28240
@ -95,6 +95,7 @@ func RenderAndSanitize(raw string) string {
|
|||||||
func RenderMarkdown(raw string) string {
|
func RenderMarkdown(raw string) string {
|
||||||
markdown := goldmark.New(
|
markdown := goldmark.New(
|
||||||
goldmark.WithRendererOptions(
|
goldmark.WithRendererOptions(
|
||||||
|
html.WithUnsafe(),
|
||||||
html.WithHardWraps(),
|
html.WithHardWraps(),
|
||||||
),
|
),
|
||||||
goldmark.WithExtensions(
|
goldmark.WithExtensions(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user