1
0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2024-11-08 20:12:34 +01:00

Don't HTML-escape email subject lines

For example, this causes org names like `X&Y` to appear as `X&Y`.
This commit is contained in:
Jeremy Lin 2020-05-29 23:25:18 -07:00
parent 4eee6e7aee
commit a447e4e7ef
8 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
Invitation accepted
Invitation to {{{org_name}}} accepted
<!---------------->
<html>
<p>

View File

@ -1,4 +1,4 @@
Invitation accepted
Invitation to {{{org_name}}} accepted
<!---------------->
<html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0;">
<head>

View File

@ -1,4 +1,4 @@
Invitation to {{org_name}} confirmed
Invitation to {{{org_name}}} confirmed
<!---------------->
<html>
<p>

View File

@ -1,4 +1,4 @@
Invitation to {{org_name}} confirmed
Invitation to {{{org_name}}} confirmed
<!---------------->
<html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0;">
<head>

View File

@ -1,4 +1,4 @@
New Device Logged In From {{device}}
New Device Logged In From {{{device}}}
<!---------------->
<html>
<p>

View File

@ -1,4 +1,4 @@
New Device Logged In From {{device}}
New Device Logged In From {{{device}}}
<!---------------->
<html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0;">
<head>

View File

@ -1,4 +1,4 @@
Join {{org_name}}
Join {{{org_name}}}
<!---------------->
<html>
<p>

View File

@ -1,4 +1,4 @@
Join {{org_name}}
Join {{{org_name}}}
<!---------------->
<html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0;">
<head>