mailgen
mailgen copied to clipboard
→ right arrow not rendered correctly anymore
Right Arrow (→) Symbol Not Rendering Correctly
Description:
The right arrow symbol (→ →) is no longer rendered correctly in certain environments.
Affected Platforms:
- GMail (screenshot below)
- Mailtrap
- Possibly other platforms
Additional Issue:
The copyright symbol (© ©) also appears to be affected.
Screenshot (GMail):
Hi @cypris75, Unfortunately, I can't reproduce. Both symbols work fine for me:
Most likely, you're HTML encoding the result of mailGenerator.generate(email); before passing it into your mailing library (e.g. nodemailer), or your mailing library automatically HTML encodes any e-mail body you pass into it.
Please investigate further, and consider trying out nodemailer to confirm it's your mailing library that is the cause of the issue:
// Send the e-mail with your favorite mailer
transporter.sendMail({
from: '[email protected]',
to: '[email protected]',
subject: 'Mailgen',
html: emailBody,
text: emailText,
}, function (err) {
if (err) return console.log(err);
console.log('Message sent successfully.');
});
Closing due to lack of activity, please advise in case you're still facing this issue.