BrianHicks / elm-csv

Decode CSV in the most boring way possible.

Home Page:https://package.elm-lang.org/packages/BrianHicks/elm-csv/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

a quoted field which ends a line combines the current and next line

BrianHicks opened this issue · comments

The following CSV…

1,"two"
3,"four"

Will decode to this:

[ [ 1, "two", 3, "four" ] ]

Instead of the correct value:

[ [ 1, "two" ]
, [ 3, "four" ]
]

This is an error in Csv.Parser in 2.0.0 and 2.0.1, and will be fixed in 3.0.0!