From f45c79b0d6eba673d537ba86b9cd8797666ad4b7 Mon Sep 17 00:00:00 2001 From: cel Date: Thu, 31 Jan 2019 15:17:28 -1000 Subject: Add drafts feature --- lib/render-msg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/render-msg.js') diff --git a/lib/render-msg.js b/lib/render-msg.js index 722b709..17fc36d 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -478,7 +478,7 @@ RenderMsg.prototype.title1 = function (cb) { cb(null, self.msg.key) } else if (typeof self.c.text === 'string') { if (self.c.type === 'post') - cb(null, title(self.c.text)) + cb(null, title(self.c.text) || '…') else cb(null, '%' + self.c.type + ': ' + (self.c.title || title(self.c.text))) } else { -- cgit v1.2.3