From 019622aab1b94cc4d71cacbf0dc5cf64b62c8623 Mon Sep 17 00:00:00 2001 From: TheCatLady <52870424+TheCatLady@users.noreply.github.com> Date: Mon, 15 Feb 2021 08:52:10 -0500 Subject: [PATCH] fix(notif): Do not HTML-escape email subjects (#931) --- server/templates/email/generatedpassword/subject.pug | 2 +- server/templates/email/media-request/subject.pug | 2 +- server/templates/email/resetpassword/subject.pug | 2 +- server/templates/email/test-email/subject.pug | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/templates/email/generatedpassword/subject.pug b/server/templates/email/generatedpassword/subject.pug index 518ef82aa..2768f12b0 100644 --- a/server/templates/email/generatedpassword/subject.pug +++ b/server/templates/email/generatedpassword/subject.pug @@ -1 +1 @@ -= `Account Information - ${applicationTitle}` +!= `Account Information [${applicationTitle}]` diff --git a/server/templates/email/media-request/subject.pug b/server/templates/email/media-request/subject.pug index e1c43065f..a0f50fbab 100644 --- a/server/templates/email/media-request/subject.pug +++ b/server/templates/email/media-request/subject.pug @@ -1 +1 @@ -= `${requestType}: ${mediaName} - ${applicationTitle}` +!= `${requestType} - ${mediaName} [${applicationTitle}]` diff --git a/server/templates/email/resetpassword/subject.pug b/server/templates/email/resetpassword/subject.pug index e9135b7e4..0751d7452 100644 --- a/server/templates/email/resetpassword/subject.pug +++ b/server/templates/email/resetpassword/subject.pug @@ -1 +1 @@ -= `Password Reset - ${applicationTitle}` +!= `Password Reset [${applicationTitle}]` diff --git a/server/templates/email/test-email/subject.pug b/server/templates/email/test-email/subject.pug index c138fe152..64ce0add4 100644 --- a/server/templates/email/test-email/subject.pug +++ b/server/templates/email/test-email/subject.pug @@ -1 +1 @@ -= `Test Notification - ${applicationTitle}` +!= `Test Notification [${applicationTitle}]`