|
|
|
@ -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; |
|
|
|
|