# Line break in field value breaks csv exports

**URL:** <https://community.forestadmin.com/t/line-break-in-field-value-breaks-csv-exports/4250>\
**Category:** Help me!\
**Created:** [February 22, 2022, 3:42pm UTC](https://community.forestadmin.com/t/line-break-in-field-value-breaks-csv-exports/4250 "2022-02-22T15:42:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kmcb](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/kmcb/32/3215_2.png) [@kmcb](https://community.forestadmin.com/u/kmcb)\
**Post date:** [February 22, 2022, 3:42pm UTC](https://community.forestadmin.com/t/line-break-in-field-value-breaks-csv-exports/4250/1 "2022-02-22T15:42:10Z")

</div>

## Feature(s) impacted

csv exports

## Observed behavior

When a field contains a string value with line breaks (provided by a textarea input), then the csv exports for this table is broken. The line breaks in the value are not escaped, and result in actual line breaks in the csv file.

> Please provide in this **mandatory section** , the relevant information about your configuration:

- Project name: Ma domiciliation
- Environment name: all
- Agent type & version: node, “forest-express-sequelize”: “~6.6.3”

---

<div class="post-metadata">

**Author:** ![anon39940173](https://avatars.discourse-cdn.com/v4/letter/a/8c91f0/32.png) [@anon39940173](https://community.forestadmin.com/u/anon39940173)\
**Post date:** [February 22, 2022, 4:12pm UTC](https://community.forestadmin.com/t/line-break-in-field-value-breaks-csv-exports/4250/2 "2022-02-22T16:12:08Z")

</div>

@kmcb

I just tried to replicate in a test project, and I see that when line breaks are included in the data, double quotes are added in the CSV output, which should parse fine.

Can you try configuring your csv parser with the following settings:  
`{"delimiter": ",", "escape": "\"" }` ?
