aboutsummaryrefslogtreecommitdiff
path: root/lib/render-msg.js
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-01-23 12:18:08 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-01-23 12:18:08 -0500
commitdc008e9096b97befaeba9eb684dbcd8d872c2a38 (patch)
tree9fe9076351b732120b9f3421d369f23cf7e213fc /lib/render-msg.js
parent1eeb202272fd2411123b980aa782f457c6835d76 (diff)
parent283e57119d86f442bc6184ae26303b9cd1b9e0e8 (diff)
downloadpatchfoo-dc008e9096b97befaeba9eb684dbcd8d872c2a38.tar.gz
patchfoo-dc008e9096b97befaeba9eb684dbcd8d872c2a38.zip
Merge branch 'main' into evmik-logbook-next
Diffstat (limited to 'lib/render-msg.js')
-rw-r--r--lib/render-msg.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js
index 3957694..e5846ac 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -479,6 +479,7 @@ RenderMsg.prototype.post = function (cb) {
self.c.tags ? h('div', h('small', 'tags: ', u.toArray(self.c.tags).map(function (tag, i) {
return [i > 0 ? ', ' : '', h('code', tag)]
}))) : '',
+ self.c.title ? h('h4', u.toString(self.c.title)) : '',
h('div.ssb-post-text', {innerHTML: self.markdown()})
), cb)
})