diff --git a/src/views/base/accounts/ReconciliationStatementPageBase.ts b/src/views/base/accounts/ReconciliationStatementPageBase.ts index 95b0af17..5ff0deb3 100644 --- a/src/views/base/accounts/ReconciliationStatementPageBase.ts +++ b/src/views/base/accounts/ReconciliationStatementPageBase.ts @@ -274,13 +274,7 @@ export function useReconciliationStatementPageBase() { displayAccountBalance = formatAmountToWesternArabicNumeralsWithoutDigitGrouping(transaction.accountClosingBalance); } - let description = transaction.comment || ''; - - if (fileType === KnownFileType.CSV) { - description = replaceAll(description, ',', ' '); - } else if (fileType === KnownFileType.TSV) { - description = replaceAll(description, '\t', ' '); - } + const description = replaceAll(transaction.comment || '', separator, ' '); return [ formatDateTimeToGregorianDefaultDateTime(transactionTime),