Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-delineating commas being removed from text #21

Closed
jessicagood opened this issue Jun 18, 2014 · 2 comments
Closed

Non-delineating commas being removed from text #21

jessicagood opened this issue Jun 18, 2014 · 2 comments

Comments

@jessicagood
Copy link
Contributor

@Keyang I'm getting a weird issue where quoted csv text like
"Many types of citrus are available, including oranges, white grapefruit, tangelos, and lemons."
when converted into json looks like
"notes":"Many types of citrus are availableincluding orangeswhite grapefruittangelos,and lemons."
The object coming back from csvtojson has several, but not all, of the non-delineating commas removed and whitespace randomly trimmed. If I set trim: false I don't have the issue with the whitespace being removed but the issue with the commas being removed is still there. Any ideas? csvtojson is being used here https://github.com/azgs/az-agriculture/blob/master/data/csv2json.js#L85. Thanks.

@jessicagood
Copy link
Contributor Author

Will be fixed with PR #22

@Keyang
Copy link
Owner

Keyang commented Jun 18, 2014

The code is merged and tested. all seem good.
Thanks.

@Keyang Keyang closed this as completed Jun 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants