Skip to content

Commit d86024e

Browse files
authored
Merge pull request Expensify#52684 from NJ-2020/fix/51424
fix invitation message is converted to uni message
2 parents 0ef6238 + d715931 commit d86024e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/libs/actions/Policy/Member.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,9 @@ function addMembersToWorkspace(invitedEmailsToAccountIDs: InvitedEmailsToAccount
686686
employees: JSON.stringify(logins.map((login) => ({email: login}))),
687687
...(optimisticAnnounceChat.announceChatReportID ? {announceChatReportID: optimisticAnnounceChat.announceChatReportID} : {}),
688688
...(optimisticAnnounceChat.announceChatReportActionID ? {announceCreatedReportActionID: optimisticAnnounceChat.announceChatReportActionID} : {}),
689-
welcomeNote: Parser.replace(welcomeNote),
689+
welcomeNote: Parser.replace(welcomeNote, {
690+
shouldEscapeText: false,
691+
}),
690692
policyID,
691693
};
692694
if (!isEmptyObject(membersChats.reportCreationData)) {

0 commit comments

Comments
 (0)