Skip to content

Commit

Permalink
escape column title when generating CSV's
Browse files Browse the repository at this point in the history
  • Loading branch information
olifolkerd committed Feb 25, 2017
1 parent 89ff0ae commit 1d49e30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tabulator.js
Original file line number Diff line number Diff line change
Expand Up @@ -754,8 +754,8 @@

self.columnList.forEach(function(column){
if(column.field){
titles.push(column.title)
fields.push(column.field)
titles.push('"' + String(column.title).split('"').join('""') + '"');
fields.push(column.field);
}
})

Expand Down

0 comments on commit 1d49e30

Please sign in to comment.