Skip to content

Commit

Permalink
escape special characters in marked reimbursed message
Browse files Browse the repository at this point in the history
  • Loading branch information
tienifr committed Jan 8, 2024
1 parent d067f4b commit 3fcc49c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/home/report/ReportActionItemBasicMessage.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -12,7 +13,7 @@ function ReportActionItemBasicMessage({message, children}: ReportActionItemBasic
const styles = useThemeStyles();
return (
<View>
<Text style={[styles.chatItemMessage, styles.colorMuted]}>{message}</Text>
<Text style={[styles.chatItemMessage, styles.colorMuted]}>{Str.htmlDecode(message)}</Text>
{children}
</View>
);
Expand Down

0 comments on commit 3fcc49c

Please sign in to comment.