Skip to content

Commit 0bf8fc7

Browse files
authored
csv new line escape
1 parent 0ee4d05 commit 0bf8fc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php/Job/Export/Csv.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function run(): array
3232
$item[$k] = json_encode($v);
3333
}
3434
}
35-
$data[] = implode($this->delimiter, $item);
35+
$data[] = nl2br(implode($this->delimiter, $item));
3636
}
3737

3838
$total = $result['total'];

0 commit comments

Comments
 (0)