1
0
mirror of https://github.com/ericchiang/pup synced 2024-11-14 03:39:35 +00:00

print newline after content when using the JSON output option

closes #62
This commit is contained in:
Eric Chiang 2016-04-25 08:16:03 -07:00
parent 468df5e20d
commit b2695a68bf

View File

@ -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