From b98ac1c05e9cc1bcb1f25e75147d256ae5d00761 Mon Sep 17 00:00:00 2001 From: cel Date: Mon, 28 Jan 2019 16:21:06 -1000 Subject: Truncate unnamed tags --- lib/render-msg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/render-msg.js b/lib/render-msg.js index fbaf741..2af4bca 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -2061,7 +2061,7 @@ RenderMsg.prototype.tagTitle = function (cb) { if (err) return cb(err) var name = about.name || about.title || (about.description && mdInline(about.description)) - cb(null, truncate(name ? name.replace(/^%/, '') : self.msg.key, 72)) + cb(null, name ? name.replace(/^%/, '') : truncate(self.msg.key, 8)) }) } var done = multicb({pluck: 1, spread: true}) -- cgit v1.2.3