mirror of
https://github.com/fiatjaf/nak.git
synced 2025-09-01 06:20:46 -04:00
event: accept tags with a single item.
This commit is contained in:
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") {
|
||||||
|
Reference in New Issue
Block a user