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

Newlines are handled incorrectly when there's an escaped quote #123

Open
drallgood opened this issue Dec 3, 2022 · 0 comments
Open

Newlines are handled incorrectly when there's an escaped quote #123

drallgood opened this issue Dec 3, 2022 · 0 comments

Comments

@drallgood
Copy link

Ran into this issue when parsing a CSV file that contained JSON-like data with newlines.
Example:

"{(
    2fa,
    \"Apple Watch\"
)}","Another column","A third column"

From what it looks like, it gets split it into 3 rows.

If you, however, replace the double quotes with single quotes, it works just fine:

"Tags","Type","third"
"{(
    2fa,
    \'Apple Watch\'
)}","Another column","A third column"

I know, it's a very specific edge case, but I just wanted to let you know

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

1 participant