From d5e34283d0b7262a22e95cf533c0c659442ffe7a Mon Sep 17 00:00:00 2001 From: Gandalf Date: Wed, 25 Sep 2024 13:53:07 +0530 Subject: [PATCH] Update src/libs/ReportUtils.ts Co-authored-by: Daniel Gale-Rosen <5487802+dangrous@users.noreply.github.com> --- src/libs/ReportUtils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/ReportUtils.ts b/src/libs/ReportUtils.ts index ed167cf123f4..f179cd35827f 100644 --- a/src/libs/ReportUtils.ts +++ b/src/libs/ReportUtils.ts @@ -4179,6 +4179,7 @@ function buildOptimisticAddCommentReportAction( const isAttachmentWithText = !!text && file !== undefined; const accountID = actorAccountID ?? currentUserAccountID ?? -1; const delegateAccountDetails = PersonalDetailsUtils.getPersonalDetailByEmail(delegateEmail); + // Remove HTML from text when applying optimistic offline comment return { commentText,