forked from ericmartel/Sublime-Text-2-CSV-Plugin
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
Description
First of, Thank you very much for working on this plugin!
When using auto_quote: true the following piece of CSV will have its quotes removed when a CSV > Compact columns is used:
oranges,"tasty
fruits"
apples,"delicious treats"
Becomes:
oranges,tasty
fruits
apples,delicious treats
It seems like the command is not respecting line breaks inside quotes, turning a valid CSV with 2 rows into an invalid CSV with 3 rows. The Section 2.6 of a CSV Standard describes the usage of line breaks inside quotes.
Removing the auto_quote configuration makes it work wonderfully out-of-the-box. Other issues also seem to suggest that the auto_quote is having couple of edge cases and past problems.
Would you consider making auto_quote disabled on default?
rmcdermo and oatesch