We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a39a39 commit 8952cc0Copy full SHA for 8952cc0
pkg/sanitize/sanitize.go
@@ -54,7 +54,7 @@ func getPolicy() *bluemonday.Policy {
54
)
55
56
p.AllowAttrs("href").OnElements("a")
57
- p.AllowURLSchemes("https")
+ p.AllowURLSchemes("http", "https")
58
p.RequireParseableURLs(true)
59
p.RequireNoFollowOnLinks(true)
60
p.RequireNoReferrerOnLinks(true)
0 commit comments