Skip to content

Commit

Permalink
fix markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
aichy126 authored and LinkinStars committed Mar 20, 2023
1 parent b2efae3 commit 0c817fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/converter/markdown.go
Expand Up @@ -33,7 +33,7 @@ func Markdown2HTML(source string) string {
return source
}
html := buf.String()
filter := bluemonday.NewPolicy()
filter := bluemonday.UGCPolicy()
html = filter.Sanitize(html)
return html
}
Expand Down

0 comments on commit 0c817fd

Please sign in to comment.