diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2019-01-28 16:21:06 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2019-01-28 19:36:02 -1000 |
commit | b98ac1c05e9cc1bcb1f25e75147d256ae5d00761 (patch) | |
tree | f544b7167ae95a9727cd551e420fc9d341fdb7ab | |
parent | c97320afa26fcd03fbefa6af99045dfb1befa743 (diff) | |
download | patchfoo-b98ac1c05e9cc1bcb1f25e75147d256ae5d00761.tar.gz patchfoo-b98ac1c05e9cc1bcb1f25e75147d256ae5d00761.zip |
Truncate unnamed tags
-rw-r--r-- | lib/render-msg.js | 2 |
1 files changed, 1 insertions, 1 deletions
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}) |