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:
parent
468df5e20d
commit
b2695a68bf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user