From eef69e3046269aa10eb02c1a0cfdb6d7788d6897 Mon Sep 17 00:00:00 2001 From: Ekaterina Chantsova Date: Fri, 7 Feb 2025 18:40:15 +0200 Subject: [PATCH] Fixed CSV export for strings containing semicolon --- ui-ngx/src/app/shared/import-export/import-export.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/app/shared/import-export/import-export.service.ts b/ui-ngx/src/app/shared/import-export/import-export.service.ts index 3dcc424666..229e09d54b 100644 --- a/ui-ngx/src/app/shared/import-export/import-export.service.ts +++ b/ui-ngx/src/app/shared/import-export/import-export.service.ts @@ -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;