aboutsummaryrefslogtreecommitdiff
path: root/lib/render-msg.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/render-msg.js')
-rw-r--r--lib/render-msg.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js
index adf13bb..cb5ae8a 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -158,7 +158,7 @@ RenderMsg.prototype.actions = function () {
h('a', {href: this.render.toUrl('/about/' + encodeURIComponent(this.msg.key))}, 'about'), ' '] : '',
/^(ssb_)?chess_/.test(this.c.type) ? [
h('a', {href: this.toUrl(this.msg.key) + '?full',
- title: 'view full game board'}, 'full'), ' '] : '',
+ title: 'view full game board'}, 'full'), ' '] : '',
typeof this.c.text === 'string' ? [
h('a', {href: this.toUrl(this.msg.key) + '?raw=md',
title: 'view markdown source'}, 'md'), ' '] : '',
@@ -689,8 +689,8 @@ RenderMsg.prototype.gitUpdate = function (cb) {
'+ ' + self.c.commits_more + ' more commits') : '',
self.c.tags_more ? h('div',
'+ ' + self.c.tags_more + ' more tags') : '',
- pkgMentionsEl,
- prebuildMentionsEl
+ pkgMentionsEl,
+ prebuildMentionsEl
), cb)
})
}
@@ -755,7 +755,7 @@ RenderMsg.prototype.valueTable = function (val, depth, cb) {
}))
)
} else if (isContent && key === 'type') {
- // TODO: also link to images by type, using links2
+ // TODO: also link to images by type, using links2
var type = val.type
return h('tr',
h('td', h('strong', 'type')),
@@ -1352,9 +1352,9 @@ RenderMsg.prototype.acmeChallengesHttp01 = function (cb) {
'serves ',
hJoin(u.toArray(self.c.challenges).map(function (challenge) {
return h('a', {
- href: 'http://' + challenge.domain +
- '/.well-known/acme-challenge/' + challenge.token,
- title: challenge.keyAuthorization,
+ href: 'http://' + challenge.domain +
+ '/.well-known/acme-challenge/' + challenge.token,
+ title: challenge.keyAuthorization,
}, challenge.domain)
}), ', ', ', and ')
), cb)
@@ -1428,14 +1428,14 @@ RenderMsg.prototype.blog = function (cb) {
self.wrapMini(h('table', h('tr',
h('td',
imgId ? h('img', {
- src: self.render.imageUrl(imgId),
- alt: (imgLink.name || '')
- + (imgLink.size != null ? ' (' + self.render.formatSize(imgLink.size) + ')' : ''),
- width: 180,
+ src: self.render.imageUrl(imgId),
+ alt: (imgLink.name || '')
+ + (imgLink.size != null ? ' (' + self.render.formatSize(imgLink.size) + ')' : ''),
+ width: 180,
}) : 'blog'),
h('td',
blogId ? h('h3', h('a', {href: self.render.toUrl('/markdown/' + blogId)},
- self.c.title || self.msg.key)) : '',
+ self.c.title || self.msg.key)) : '',
self.c.summary || '')
)), cb)
}