Open 52lemon opened 5 years ago
i got "undefined: blackfriday.MarkdownCommon" when i use like this policy := bluemonday.StrictPolicy() //remove all html tags sanitized := policy.Sanitize(string(blackfriday.MarkdownCommon([]byte(post.Body))))
policy := bluemonday.StrictPolicy() //remove all html tags sanitized := policy.Sanitize(string(blackfriday.MarkdownCommon([]byte(post.Body))))
i use go module
You seem to have the same problem as #565
i got "undefined: blackfriday.MarkdownCommon" when i use like this
policy := bluemonday.StrictPolicy() //remove all html tags sanitized := policy.Sanitize(string(blackfriday.MarkdownCommon([]byte(post.Body))))