From b2695a68bffb0a94bac0e98c0837de907a04a9c0 Mon Sep 17 00:00:00 2001 From: Eric Chiang Date: Mon, 25 Apr 2016 08:16:03 -0700 Subject: [PATCH] print newline after content when using the JSON output option closes #62 --- display.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/display.go b/display.go index 77685f5..58bdeb7 100644 --- a/display.go +++ b/display.go @@ -323,7 +323,7 @@ func (j JSONDisplayer) Display(nodes []*html.Node) { if err != nil { panic("Could not jsonify nodes") } - fmt.Printf("%s", data) + fmt.Printf("%s\n", data) } // Print the number of features returned