Fixed CSV export for strings containing semicolon
This commit is contained in:
parent
17bd5cc792
commit
eef69e3046
@ -812,7 +812,7 @@ export class ImportExportService {
|
||||
private processCSVCell(cellData: any): any {
|
||||
if (isString(cellData)) {
|
||||
let result = cellData.replace(/"/g, '""');
|
||||
if (result.search(/([",\n])/g) >= 0) {
|
||||
if (result.search(/([",;\n])/g) >= 0) {
|
||||
result = `"${result}"`;
|
||||
}
|
||||
return result;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user