Skip to content

Commit

Permalink
Merge pull request Expensify#40783 from ShridharGoel/text-symbol
Browse files Browse the repository at this point in the history
Change HTML to text in comment when uploading attachment
  • Loading branch information
amyevans authored Apr 25, 2024
2 parents 3b9662c + abcd163 commit fea5c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3220,7 +3220,7 @@ function buildOptimisticAddCommentReportAction(text?: string, file?: FileObject,
textForNewComment = parser.htmlToText(htmlForNewComment);
} else {
htmlForNewComment = `${commentText}\n${CONST.ATTACHMENT_UPLOADING_MESSAGE_HTML}`;
textForNewComment = `${commentText}\n${CONST.ATTACHMENT_UPLOADING_MESSAGE_HTML}`;
textForNewComment = `${parser.htmlToText(commentText)}\n${CONST.ATTACHMENT_UPLOADING_MESSAGE_HTML}`;
}

const isAttachment = !text && file !== undefined;
Expand Down

0 comments on commit fea5c25

Please sign in to comment.