mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-07 10:40:25 +00:00
* Update bluemonday to v1.0.15 (#16379) * Fix TESTS
This commit is contained in:
2
vendor/github.com/microcosm-cc/bluemonday/helpers.go
generated
vendored
2
vendor/github.com/microcosm-cc/bluemonday/helpers.go
generated
vendored
@@ -141,7 +141,7 @@ func (p *Policy) AllowStandardURLs() {
|
||||
}
|
||||
|
||||
// AllowStandardAttributes will enable "id", "title" and the language specific
|
||||
// attributes "dir" and "lang" on all elements that are whitelisted
|
||||
// attributes "dir" and "lang" on all elements that are allowed
|
||||
func (p *Policy) AllowStandardAttributes() {
|
||||
// "dir" "lang" are permitted as both language attributes affect charsets
|
||||
// and direction of text.
|
||||
|
Reference in New Issue
Block a user