Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

TSV files with quotes are not parsed correctly #323

Open
moltar opened this issue Jun 18, 2021 · 0 comments
Open

TSV files with quotes are not parsed correctly #323

moltar opened this issue Jun 18, 2021 · 0 comments
Labels

Comments

@moltar
Copy link

moltar commented Jun 18, 2021

Describe the bug

Quotes are not parsed and an error is raised:

Invalid Opening Quote: a quote is found inside a field at line 2

To Reproduce

col1  col2
val1  "val "" 2"
parse(report, {
  delimiter: '\t',
  skipEmptyLines: true,
})

Additional context

Tried suggestion from #289, to set quote value to empty string, but then quotes are not parsed at all:

{
  col1: 'val1',
  col2: '"val "" 2"'
}

Thanks!

@moltar moltar added the bug label Jun 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant