Email gets encoded in plain text email

Unbuffered code for conditionals etc <% code %>
Escapes html by default with <%= code %>
Unescaped buffering with <%- code %>
This commit is contained in:
Girish Ramakrishnan
2019-02-14 19:30:00 -08:00
parent e348a1d2c5
commit 458658a71b
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ Follow the link to get started.
<%= setupLink %>
<% if (invitor && invitor.email) { %>
You are receiving this email because you were invited by <%= invitor.email %>.
You are receiving this email because you were invited by <%- invitor.email %>.
<% } %>