diff --git a/src/pages/home/report/ContextMenu/ContextMenuActions.tsx b/src/pages/home/report/ContextMenu/ContextMenuActions.tsx index 50b7e9c76153..8ed59037800c 100644 --- a/src/pages/home/report/ContextMenu/ContextMenuActions.tsx +++ b/src/pages/home/report/ContextMenu/ContextMenuActions.tsx @@ -409,8 +409,9 @@ const ContextMenuActions: ContextMenuAction[] = [ const displayMessage = ReportUtils.getReportPreviewMessage(iouReportID, reportAction); Clipboard.setString(displayMessage); } else if (ReportActionsUtils.isTaskAction(reportAction)) { - const displayMessage = TaskUtils.getTaskReportActionMessage(reportAction).text; - Clipboard.setString(displayMessage); + const {text, html} = TaskUtils.getTaskReportActionMessage(reportAction); + const displayMessage = html ?? text; + setClipboardMessage(displayMessage); } else if (ReportActionsUtils.isModifiedExpenseAction(reportAction)) { const modifyExpenseMessage = ModifiedExpenseMessage.getForReportAction(reportID, reportAction); Clipboard.setString(modifyExpenseMessage);