From 5e741543a2d450bd76fb76fc313064d22bdfae86 Mon Sep 17 00:00:00 2001 From: Radhi Fadlillah Date: Mon, 26 Feb 2018 20:01:39 +0700 Subject: [PATCH] Minor change --- cmd/add.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/add.go b/cmd/add.go index cc0caaa..9ebdf73 100644 --- a/cmd/add.go +++ b/cmd/add.go @@ -31,7 +31,7 @@ var ( bookmark.Tags = make([]model.Tag, len(tags)) for i, tag := range tags { - bookmark.Tags[i].Name = tag + bookmark.Tags[i].Name = strings.TrimSpace(tag) } // Save new bookmark