CSV Table, no escaping?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

CSV Table, no escaping?

Jeremie Bresson
I was surprised to see that you cannot escape the comma in CSV Format table.
Given:
[cols="2*", format="csv"]
|===
lorem\,ipsum,dolore
first,second
|===

In the first row I was expecting "lorem,ipsum" in the first cell and "dolore" in the second cell.
I got: "lorem\" in the first cell and "ipsum" in the second cell. "dolore" is the first value of the second row.

The behavior is different with PSV:
[cols="2*"]
|===
|lorem\|ipsum|dolore
|first|second
|===

Is this behavior by design?
Reply | Threaded
Open this post in threaded view
|

Re: CSV Table, no escaping?

rockyallen
Try

"lorem,ipsum",dolore