- Issue created by @BenStallings
- Merge request !9use token::replacePlain() when generating the plaintext param β (Open) created by BenStallings
- Status changed to Needs review
9 months ago 6:36pm 2 May 2024
The pet_send_one_mail() function uses $token->replace() for both the HTML and plain text versions of the email. This results in HTML entities in the plain text version.
Make a template with a plaintext version that has tokens in it. Send it a token containing an apostrophe ('), for example in a contraction like "It's". Note that the resulting email shows ' instead of the apostrophe.
Use $token->replacePlain() for the plaintext param instead.
Make a merge request.
Needs review
4.0
Code