aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-12-02 13:40:40 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-12-02 15:32:05 -1000
commitdee0312beda7583df48e969e27efc4e1865edc71 (patch)
tree98c66576a6ee8665834bf0ef7f6adffa0df99317
parenta61c80c4140564b1a4daf19d9086c05a8f276c20 (diff)
downloadpatchfoo-dee0312beda7583df48e969e27efc4e1865edc71.tar.gz
patchfoo-dee0312beda7583df48e969e27efc4e1865edc71.zip
gathering location may be markdown
-rw-r--r--lib/render-msg.js3
1 files changed, 2 insertions, 1 deletions
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),