Skip to content

Commit f62169a

Browse files
committed
fix: format email body as HTML no XML
ref issue #144
1 parent 847f797 commit f62169a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

config/email_template.config.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ module.exports = {
1414
*/
1515
'team-issue-report': {
1616
subject: 'Issue Reported on TaaS Team "{{projectName}}" ({{projectId}}).',
17-
body: 'Project Name: {{projectName}}' + '<br />\n' +
18-
'Project ID: {{projectId}}' + '<br />\n' +
19-
`Project URL: ${config.TAAS_APP_URL}/{{projectId}}` + '<br />\n' +
20-
'<br />\n' +
17+
body: 'Project Name: {{projectName}}' + '<br>\n' +
18+
'Project ID: {{projectId}}' + '<br>\n' +
19+
`Project URL: ${config.TAAS_APP_URL}/{{projectId}}` + '<br>\n' +
20+
'<br>\n' +
2121
'{{reportText}}',
2222
recipients: config.REPORT_ISSUE_EMAILS,
2323
sendgridTemplateId: config.REPORT_ISSUE_SENDGRID_TEMPLATE_ID
@@ -31,11 +31,11 @@ module.exports = {
3131
*/
3232
'member-issue-report': {
3333
subject: 'Issue Reported for member "{{userHandle}}" on TaaS Team "{{projectName}}" ({{projectId}}).',
34-
body: 'User Handle: {{userHandle}}' + '<br />\n' +
35-
'Project Name: {{projectName}}' + '<br />\n' +
36-
'Project ID: {{projectId}}' + '<br />\n' +
37-
`Project URL: ${config.TAAS_APP_URL}/{{projectId}}` + '<br />\n' +
38-
'<br />\n' +
34+
body: 'User Handle: {{userHandle}}' + '<br>\n' +
35+
'Project Name: {{projectName}}' + '<br>\n' +
36+
'Project ID: {{projectId}}' + '<br>\n' +
37+
`Project URL: ${config.TAAS_APP_URL}/{{projectId}}` + '<br>\n' +
38+
'<br>\n' +
3939
'{{reportText}}',
4040
recipients: config.REPORT_ISSUE_EMAILS,
4141
sendgridTemplateId: config.REPORT_ISSUE_SENDGRID_TEMPLATE_ID

0 commit comments

Comments
 (0)