aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/render-msg.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js
index faf5a84..711a759 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -502,6 +502,12 @@ RenderMsg.prototype.valueTable = function (val, cb) {
innerHTML: self.render.markdown(val.text, val.mentions)
}))
)
+ } else if (key === 'type') {
+ var type = val.type
+ return h('tr',
+ h('td', h('strong', 'type')),
+ h('td', h('a', {href: self.toUrl('/type/' + type)}, type))
+ )
}
return h('tr',
h('td', h('strong', key)),