asafdav / ng-csv

Simple directive that turns arrays and objects into downloadable CSV files
MIT License
573 stars 215 forks source link

quote-string attribute not handling strings that begin with numbers #172

Closed justingreco closed 7 years ago

justingreco commented 7 years ago

When a string value begins with a number, such as a street address, it is not being quoted in the resulting CSV when the quote-string attribute is set to true. This would be very useful also for handling numbers that begin with a leading zero as well.