From d1fb09caec6297eb7054f2aecfc93aaac7ea906a Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 7 Dec 2015 16:41:21 -0500 Subject: [PATCH] apparently I *did* need html-to-text. --- package.json | 1 + src/emailer.js | 1 + 2 files changed, 2 insertions(+) diff --git a/package.json b/package.json index 4cdb35e255..0881f47491 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "express": "^4.9.5", "express-session": "^1.8.2", "heapdump": "^0.3.0", + "html-to-text": "1.5.0", "jimp": "0.2.20", "less": "^2.0.0", "logrotate-stream": "^0.2.3", diff --git a/src/emailer.js b/src/emailer.js index ec6c9df44e..449bdf9e9b 100644 --- a/src/emailer.js +++ b/src/emailer.js @@ -5,6 +5,7 @@ var async = require('async'), nconf = require('nconf'), templates = require('templates.js'), nodemailer = require('nodemailer'), + htmlToText = require('html-to-text'), url = require('url'), User = require('./user'),