mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-07 02:39:30 -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
5
vendor/github.com/microcosm-cc/bluemonday/css/handlers.go
generated
vendored
5
vendor/github.com/microcosm-cc/bluemonday/css/handlers.go
generated
vendored
|
|
@ -366,10 +366,11 @@ func in(value []string, arr []string) bool {
|
|||
|
||||
func splitValues(value string) []string {
|
||||
values := strings.Split(value, ",")
|
||||
newValues := []string{}
|
||||
for _, strippedValue := range values {
|
||||
strippedValue = strings.ToLower(strings.TrimSpace(strippedValue))
|
||||
newValues = append(newValues, strings.ToLower(strings.TrimSpace(strippedValue)))
|
||||
}
|
||||
return values
|
||||
return newValues
|
||||
}
|
||||
|
||||
func GetDefaultHandler(attr string) func(string) bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue