mirror of
https://github.com/ericchiang/pup
synced 2025-01-14 17:50:59 +00:00
Merge pull request #63 from ericchiang/json_nl
print newline after content when using the JSON output option
This commit is contained in:
commit
e76307d03d
@ -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