From: Sergey Matveev Date: Sun, 10 Jan 2021 15:00:16 +0000 (+0300) Subject: Safer @url usage X-Git-Url: http://www.git.stargrave.org/?p=linksexp.git;a=commitdiff_plain;h=ac3ac05bc82e68e0e669ed0c34cc4d8adc91f985 Safer @url usage --- diff --git a/main.go b/main.go index 6df487a..cf3ffe5 100644 --- a/main.go +++ b/main.go @@ -147,7 +147,7 @@ func main() { note = "(" + ent["Note"][0] + ")" } fmt.Printf( - " @item %d @tab @url{%s, %s} %s @tab %s @tab\n", + " @item %d @tab @url{%s,, %s} %s @tab %s @tab\n", n, ent["URL"][0], ent["Title"][0], note, strings.Join(catsOther, ", "), )