mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-19 03:23:02 -06:00
[chore]: Bump github.com/microcosm-cc/bluemonday from 1.0.25 to 1.0.26 (#2266)
This commit is contained in:
parent
39e22a9703
commit
48725f7228
7 changed files with 17 additions and 17 deletions
2
vendor/github.com/microcosm-cc/bluemonday/sanitize.go
generated
vendored
2
vendor/github.com/microcosm-cc/bluemonday/sanitize.go
generated
vendored
|
|
@ -998,7 +998,7 @@ func linkable(elementName string) bool {
|
|||
// stringInSlice returns true if needle exists in haystack
|
||||
func stringInSlice(needle string, haystack []string) bool {
|
||||
for _, straw := range haystack {
|
||||
if strings.ToLower(straw) == strings.ToLower(needle) {
|
||||
if strings.EqualFold(straw, needle) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue