Skip to content

fixes #204 - auto-quote cells containing quote char#212

Merged
d99kris merged 5 commits intomasterfrom
dev/integrate-auto-quote-fix
Apr 4, 2026
Merged

fixes #204 - auto-quote cells containing quote char#212
d99kris merged 5 commits intomasterfrom
dev/integrate-auto-quote-fix

Conversation

@d99kris
Copy link
Copy Markdown
Owner

@d99kris d99kris commented Apr 4, 2026

Original PR in #205 by @MarkLee131.

MarkLee131 and others added 5 commits March 29, 2026 02:44
WriteCsv auto-quote logic checks for separator, space and newline
in cell content, but does not check for the quote character itself.
This causes cells containing quotes (but no separator/space/newline)
to be written unquoted and unescaped, producing malformed CSV output
that corrupts data on re-read.

Add quote character to the auto-quote condition and add test104 to
verify round-trip integrity for cells containing quote characters.
…ar-check

fixes auto-quote not quoting cells containing quote characters
@d99kris d99kris self-assigned this Apr 4, 2026
@d99kris d99kris merged commit 7528d7c into master Apr 4, 2026
6 checks passed
@d99kris d99kris deleted the dev/integrate-auto-quote-fix branch April 4, 2026 09:37
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

Successfully merging this pull request may close these issues.

2 participants