From 3fcc49cd9c95c917740664d569b3b1cbe10f1b53 Mon Sep 17 00:00:00 2001 From: tienifr Date: Mon, 8 Jan 2024 09:44:02 +0700 Subject: [PATCH] escape special characters in marked reimbursed message --- src/pages/home/report/ReportActionItemBasicMessage.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/home/report/ReportActionItemBasicMessage.tsx b/src/pages/home/report/ReportActionItemBasicMessage.tsx index f0097a6dce26..35141a42b726 100644 --- a/src/pages/home/report/ReportActionItemBasicMessage.tsx +++ b/src/pages/home/report/ReportActionItemBasicMessage.tsx @@ -1,3 +1,4 @@ +import Str from 'expensify-common/lib/str'; import React from 'react'; import {View} from 'react-native'; import Text from '@components/Text'; @@ -12,7 +13,7 @@ function ReportActionItemBasicMessage({message, children}: ReportActionItemBasic const styles = useThemeStyles(); return ( - {message} + {Str.htmlDecode(message)} {children} );