summaryrefslogtreecommitdiffstats
path: root/server/notifications
diff options
context:
space:
mode:
authorSam X. Chen <sam.xi.chen@gmail.com>2019-08-12 17:41:49 -0400
committerSam X. Chen <sam.xi.chen@gmail.com>2019-08-12 17:41:49 -0400
commit8d76db91b883e7142cb7cddcfd25fa230663be34 (patch)
tree229c26ebe7ca2c26ffb2d657b88065f73deda68e /server/notifications
parentdb1cf5bb64f10317742361637d239f08bec141b8 (diff)
downloadwekan-8d76db91b883e7142cb7cddcfd25fa230663be34.tar.gz
wekan-8d76db91b883e7142cb7cddcfd25fa230663be34.tar.bz2
wekan-8d76db91b883e7142cb7cddcfd25fa230663be34.zip
Addfeature: Enable HTML email content for richer comment
Diffstat (limited to 'server/notifications')
-rw-r--r--server/notifications/email.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/notifications/email.js b/server/notifications/email.js
index d198b8b5..deb140a6 100644
--- a/server/notifications/email.js
+++ b/server/notifications/email.js
@@ -32,14 +32,14 @@ Meteor.startup(() => {
if (texts.length === 0) return;
// merge the cached content into single email and flush
- const text = texts.join('\n\n');
+ const html = texts.join('<br/>\n\n');
user.clearEmailBuffer();
try {
Email.send({
to: user.emails[0].address.toLowerCase(),
from: Accounts.emailTemplates.from,
subject,
- text,
+ html,
});
} catch (e) {
return;