aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-01-16 21:40:21 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-01-16 21:40:21 -1000
commit51ce0d861e2a2ae3b11dbfb28adffec27bd7a845 (patch)
tree4d2f91da55050592b150775849cb99797fad438a
parent7eae14a8fdf74f192c800d55357ab755d78a966f (diff)
downloadpatchfoo-51ce0d861e2a2ae3b11dbfb28adffec27bd7a845.tar.gz
patchfoo-51ce0d861e2a2ae3b11dbfb28adffec27bd7a845.zip
Treat line-comment text same as post text
-rw-r--r--lib/render-msg.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js
index cfc32c7..aaf7271 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -1674,6 +1674,6 @@ RenderMsg.prototype.lineComment = function (cb) {
}, h('code', self.c.filePath + ':' + self.c.line))
)),
self.c.text ?
- h('div', {innerHTML: self.render.markdown(self.c.text)}) : ''), cb)
+ h('div', {innerHTML: self.markdown()}) : ''), cb)
})
}