fix
This commit is contained in:
parent
25badb3e79
commit
6cd8ff2fe4
@ -239,9 +239,9 @@ func (ti *tagItems) override(nti tagItems) tagItems {
|
||||
|
||||
func (it *InjectTag) newTagItems(tag string) tagItems {
|
||||
var items []tagItem
|
||||
splitted := rTags.FindAllString(tag, -1)
|
||||
split := rTags.FindAllString(tag, -1)
|
||||
|
||||
for _, t := range splitted {
|
||||
for _, t := range split {
|
||||
sepPos := strings.Index(t, ":")
|
||||
items = append(items, tagItem{
|
||||
key: t[:sepPos],
|
||||
|
Loading…
Reference in New Issue
Block a user