I have an email template that has a section like this
<p>Customer's Name: $CustomerName</p>
The problem is whenever $CustomerName
token is replaced with a text that has '&' symbol it will create another </p>
tag in the HTML body when it's opened in the browser.
<p>Customer's Name: John & Doe </p></p>
Thing(s) I've done
- Check generated email body: I've checked the logs, the email body looks good to me. It doesn't have additional
</p>
tag - Try a different browser: I tried on Edge and Chrome the result is the same
- Try a different email provider: I tried on Gmail and One Drive the result is the same
Any idea what might cause this?
Thanks in advance