Skip to content

Commit

Permalink
csv new line escape
Browse files Browse the repository at this point in the history
  • Loading branch information
nekufa authored Dec 5, 2022
1 parent 0ee4d05 commit 0bf8fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/Job/Export/Csv.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function run(): array
$item[$k] = json_encode($v);
}
}
$data[] = implode($this->delimiter, $item);
$data[] = nl2br(implode($this->delimiter, $item));
}

$total = $result['total'];
Expand Down

0 comments on commit 0bf8fc7

Please sign in to comment.