Minor change

This commit is contained in:
Radhi Fadlillah 2018-02-26 20:01:39 +07:00
parent 1dcc663039
commit 5e741543a2

View file

@ -31,7 +31,7 @@ var (
bookmark.Tags = make([]model.Tag, len(tags)) bookmark.Tags = make([]model.Tag, len(tags))
for i, tag := range tags { for i, tag := range tags {
bookmark.Tags[i].Name = tag bookmark.Tags[i].Name = strings.TrimSpace(tag)
} }
// Save new bookmark // Save new bookmark