Skip to content

Commit

Permalink
Fix parsing of CSV with trailing lines
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmeuli committed Mar 21, 2020
1 parent 353616c commit 10f51c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QLPlugin/Assets/csv/csv-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function render(fileContent) {
}

// Parse CSV
Papa.parse(fileContent, {
Papa.parse(fileContent.trim(), {
worker: true,
chunk: results => appendRows(results.data),
});
Expand Down

0 comments on commit 10f51c2

Please sign in to comment.