X-Git-Url: http://www.git.stargrave.org/?p=linksexp.git;a=blobdiff_plain;f=main.go;fp=main.go;h=875291dfc7263187959d7ff589fe88f93673cedc;hp=1ef6d5da2916c84ea0a86d490c75c28ea54339e3;hb=736eb2dd05d3b66795919463001023964062acba;hpb=5bbfb3ff6b49c0a393fb81f52acca7bb363675df diff --git a/main.go b/main.go index 1ef6d5d..875291d 100644 --- a/main.go +++ b/main.go @@ -144,7 +144,7 @@ func main() { } var note string if len(ent["Note"]) > 0 { - note = "(" + ent["Note"][0] + ")" + note = "(" + strings.Trim(ent["Note"][0], " \n") + ")" } fmt.Printf( " @item %d @tab @url{%s,, %s} %s @tab %s @tab\n",