From dee0312beda7583df48e969e27efc4e1865edc71 Mon Sep 17 00:00:00 2001 From: cel Date: Sun, 2 Dec 2018 13:40:40 -1000 Subject: gathering location may be markdown --- lib/render-msg.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/render-msg.js') diff --git a/lib/render-msg.js b/lib/render-msg.js index 2f7216a..d76f126 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -668,7 +668,8 @@ RenderMsg.prototype.about = function (cb) { 'starting at ', dateTime(this.c.startDateTime)) : '', this.c.endDateTime ? h('div', 'ending at ', dateTime(this.c.endDateTime)) : '', - this.c.location ? h('div', 'at ', String(this.c.location)) : '', + this.c.location ? h('div', 'at ', h('span', + {innerHTML: u.unwrapP(this.render.markdown(this.c.location))})) : '', img ? h('a', {href: this.toUrl(img)}, h('img.ssb-avatar-image', { src: this.render.imageUrl(img), -- cgit v1.2.3