Data-Liberation-Front / csvlint.rb

The gem behind http://csvlint.io
MIT License
283 stars 86 forks source link

Line breaks within quotes should not start new record #204

Open quadrophobiac opened 7 years ago

quadrophobiac commented 7 years ago

From @AndyNichols on May 20, 2014 16:10

CSV Lint is wrongly interpreting line breaks within quotes as starting a new record. So

A,"B C",D

is two records of two fields, when it should be one of four.

This is as per RFC 4180 section 2.6

Copied from original issue: theodi/csvlint#149

quadrophobiac commented 7 years ago

I sense that this probably is better applied to https://github.com/theodi/csvlint.rb

kspurgin commented 11 months ago

I think this issue is the same as, or at least related to, #198