aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-06-21 07:28:39 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-06-21 07:29:04 -1000
commitfc0b1d482f93fc3a256667aa96843b4f0c0c4ecb (patch)
tree8484c6d5482871374aa8194eb4caa111a0c52595
parentf5bfde1b7a67b691490a9c979ab7f06312b2a0b3 (diff)
downloadpatchfoo-fc0b1d482f93fc3a256667aa96843b4f0c0c4ecb.tar.gz
patchfoo-fc0b1d482f93fc3a256667aa96843b4f0c0c4ecb.zip
Render arrows with symbol font, for dillo
-rw-r--r--lib/render-msg.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js
index 15e278c..cd5a84f 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -277,9 +277,9 @@ RenderMsg.prototype.post = function (cb) {
done(function (err, rootLink, branchLinks) {
if (err) return self.wrap(u.renderError(err), cb)
self.wrap(h('div.ssb-post',
- rootLink ? h('div', h('small', '→ ', rootLink)) : '',
+ rootLink ? h('div', h('small', h('span.symbol', '→'), ' ', rootLink)) : '',
branchLinks.map(function (a, i) {
- return h('div', h('small', '  ↳ ', a))
+ return h('div', h('small', h('span.symbol', '  ↳'), ' ', a))
}),
h('div.ssb-post-text', {innerHTML: self.markdown()})
), cb)