ng-csv
ng-csv copied to clipboard
fix escaping fields
Escape the field with double quotes if it contains a double quote in the value.
This is specified in the RFC as follows:
6 . Fields containing line breaks (CRLF), double quotes, and commas should be enclosed in double-quotes.
I also added a fix to the escape mechanism to use the user-specified field delimiter instead of hard-coded comma