mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-23 02:09:20 -07:00
Ever since we changed to pass the full url as a template value handlebars now html-encodes this.
This causes issues with the plain/text mails, but it also could potentially cause issues with the text/html templates.
This PR encloses the template values inside triple braces `{{{ }}}` which prevents html-encoding.
Since the URL is generated via the `url` crate the values are percent-encoded anyway.
Fixes #5097
Signed-off-by: BlackDex <black.dex@gmail.com>
11 lines
248 B
Handlebars
11 lines
248 B
Handlebars
Join {{{org_name}}}
|
|
<!---------------->
|
|
You have been invited to join the *{{org_name}}* organization.
|
|
|
|
|
|
Click here to join: {{{url}}}
|
|
|
|
|
|
If you do not wish to join this organization, you can safely ignore this email.
|
|
{{> email/email_footer_text }}
|