Skip to content

Commit 22d1652

Browse files
committed
Fix for export when flatten arrays is false. Double quotes are escaped correctly now
1 parent 88ef274 commit 22d1652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/data_export/src/export/export.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ function entryToCSVRow(entry: any[]) {
217217
.map((v: any) => {
218218
if (v === null || v === undefined) return "";
219219
if (Array.isArray(v))
220-
return "\"" + JSON.stringify(v).replaceAll("\"", "\\\"") + "\"";
220+
return "\"" + JSON.stringify(v).replaceAll("\"", "\"\"") + "\"";
221221
const s = String(v);
222222
return "\"" + s.replaceAll("\"", "\"\"") + "\"";
223223
})

0 commit comments

Comments
 (0)