diff options
-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 1873128..b156820 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -339,7 +339,7 @@ RenderMsg.prototype.link1 = function (link, cb) { if (!ref) return cb(), '' var a = h('a', {href: self.toUrl(ref)}, ref) self.getName(ref, function (err, name) { - if (err) return cb(err) + if (err) name = ref a.childNodes[0].textContent = name cb() }) |