Closed ptc-choyzer closed 4 years ago
This is my option:
{ template: `registration/author/templates`, message: { to: req.email }, locals: { host_name: config.content.hostname, org_name: req.org_name, invitation_url: req.invitation_url, support_email: req.support_email, locale: req.locale !== undefined ? req.locale : 'en' }
And here is my "subject.hbs" template:
{{t 'invitation_to_join'}} {{org_name}} {{t 'on'}} X
When my org_name = "a & b"
I got in the email subject: "a & b"
I don't see any way to decode the subject. what I need to do?
Fix by using {{{org_name}}} instead {{..}}
This is my option:
And here is my "subject.hbs" template:
{{t 'invitation_to_join'}} {{org_name}} {{t 'on'}} X
When my org_name = "a & b"
I got in the email subject: "a & b"
I don't see any way to decode the subject. what I need to do?