Trim the tags
This commit is contained in:
parent
6684e1b96a
commit
04c452853a
2 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ func cleanEmptyStr(s []string) []string {
|
|||
var res []string
|
||||
for _, v := range s {
|
||||
if v != "" {
|
||||
res = append(res, v)
|
||||
res = append(res, strings.TrimSpace(v))
|
||||
}
|
||||
}
|
||||
return res
|
||||
|
|
Reference in a new issue