packagekoushinbaseimport("github.com/microcosm-cc/bluemonday")funcsanitizeHTML(b[]byte)[]byte{p:=bluemonday.UGCPolicy()// TODO: be more strictp.AllowElements("style")p.AllowAttrs("style")p.AddTargetBlankToFullyQualifiedLinks(true)p.RequireNoFollowOnLinks(true)returnp.SanitizeBytes(b)}