mirror of
https://github.com/fiatjaf/nak.git
synced 2024-11-22 08:19:06 -05:00
event: accept tags with a single item.
This commit is contained in:
parent
c5f7926471
commit
ffe2db7f96
3
event.go
3
event.go
|
@ -182,9 +182,8 @@ example:
|
||||||
// tags may also contain extra elements separated with a ";"
|
// tags may also contain extra elements separated with a ";"
|
||||||
tagValues := strings.Split(tagValue, ";")
|
tagValues := strings.Split(tagValue, ";")
|
||||||
tag = append(tag, tagValues...)
|
tag = append(tag, tagValues...)
|
||||||
// ~
|
|
||||||
tags = tags.AppendUnique(tag)
|
|
||||||
}
|
}
|
||||||
|
tags = tags.AppendUnique(tag)
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, etag := range c.StringSlice("e") {
|
for _, etag := range c.StringSlice("e") {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user