Skip to content

Commit bc4555f

Browse files
authored
Allow http (#1369)
1 parent 5cef28f commit bc4555f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/sanitize/sanitize.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ func getPolicy() *bluemonday.Policy {
159159
)
160160

161161
p.AllowAttrs("href").OnElements("a")
162-
p.AllowURLSchemes("https")
162+
p.AllowURLSchemes("http", "https")
163163
p.RequireParseableURLs(true)
164164
p.RequireNoFollowOnLinks(true)
165165
p.RequireNoReferrerOnLinks(true)

0 commit comments

Comments
 (0)