Don't HTML-escape email subject lines

For example, this causes org names like `X&Y` to appear as `X&Y`.
pull/1009/head
Jeremy Lin 5 years ago
parent 4eee6e7aee
commit a447e4e7ef

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

@ -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>

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

@ -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>

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

@ -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>

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

@ -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>

Loading…
Cancel
Save