Skip to content

Commit

Permalink
Merge pull request #34081 from tienifr/fix/33996
Browse files Browse the repository at this point in the history
Escape special characters in `MARKEDREIMBURSED` message
  • Loading branch information
roryabraham authored Jan 14, 2024
2 parents 9533df3 + 3fcc49c commit fd45dea
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 fd45dea

Please sign in to comment.