diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/about.js | 2 | ||||
-rw-r--r-- | lib/serve.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/about.js b/lib/about.js index bb292f6..6d04355 100644 --- a/lib/about.js +++ b/lib/about.js @@ -20,7 +20,7 @@ About.prototype.createAboutOpStream = function (id) { && key !== 'type' && key !== 'recps' }).map(function (key) { - var value = u.toLink(c[key]) + var value = c[key] return { id: msg.key, author: msg.value.author, diff --git a/lib/serve.js b/lib/serve.js index 5f4abff..c4c740c 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -826,7 +826,7 @@ Serve.prototype.about = function (path) { function renderAboutOpContent(op) { if (op.prop === 'image') - return renderAboutOpImage(op.value) + return renderAboutOpImage(u.toLink(op.value)) if (op.prop === 'description') return h('div', {innerHTML: render.markdown(op.value)}).outerHTML if (op.prop === 'title') |