Skip to content

Commit

Permalink
🐛 (sendEmail) Fix body HTML parsing invalid escape
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Jun 11, 2024
1 parent 24db6c5 commit f38af0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const executeSendEmailBlock = async (
)
const body = bodyUniqueVariable
? stringifyUniqueVariableValueAsHtml(bodyUniqueVariable)
: parseVariables(typebot.variables, { isInsideHtml: true })(
: parseVariables(typebot.variables, { isInsideHtml: !options?.isBodyCode })(
options?.body ?? ''
)

Expand Down

0 comments on commit f38af0d

Please sign in to comment.