Skip to content

Commit cd8d0bd

Browse files
committed
fix: Description link in expense thread is rendered as HTML tags
1 parent 1661839 commit cd8d0bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/ReportUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4522,7 +4522,7 @@ function getTransactionReportName({
45224522
const formattedAmount = convertToDisplayString(amount, getCurrency(transaction)) ?? '';
45234523
const comment = getMerchantOrDescription(transaction);
45244524

4525-
return translateLocal('iou.threadExpenseReportName', {formattedAmount, comment});
4525+
return translateLocal('iou.threadExpenseReportName', {formattedAmount, comment: Parser.htmlToText(comment)});
45264526
}
45274527

45284528
/**

0 commit comments

Comments
 (0)