diff --git a/src/components/ReportActionItem/TaskAction.tsx b/src/components/ReportActionItem/TaskAction.tsx index e85a2e708feb..94b152f61912 100644 --- a/src/components/ReportActionItem/TaskAction.tsx +++ b/src/components/ReportActionItem/TaskAction.tsx @@ -6,6 +6,7 @@ import Text from '@components/Text'; import useThemeStyles from '@hooks/useThemeStyles'; import * as TaskUtils from '@libs/TaskUtils'; import type {ReportAction} from '@src/types/onyx'; +import ExpensiMark from 'expensify-common/lib/ExpensiMark'; type TaskActionProps = { /** Name of the reportAction action */ @@ -15,10 +16,11 @@ type TaskActionProps = { function TaskAction({action}: TaskActionProps) { const styles = useThemeStyles(); const message = TaskUtils.getTaskReportActionMessage(action); + const parser = new ExpensiMark(); return ( - {message.html ? ${message.html}`} /> : {message.text}} + {message.html ? ${parser.replace(message.html)}`} /> : {message.text}} ); }