git ssb

9+

cel / ssb-viewer



Commit a234f1b2abb6ca0329e9f4bc64cb21a99c9c47a5

Fix user link in channel feed

Anders Rune Jensen committed on 4/15/2017, 10:47:09 AM
Parent: 27f58a3795183b40043200e73de834d45fee2213

Files changed

index.jschanged
index.jsView
@@ -101,9 +101,9 @@
101101 var feedId = url.substring(url.lastIndexOf('user/')+5, 100)
102102 console.log("serving feed: " + feedId)
103103
104104 var opts = defaultOpts
105-
105 +
106106 opts.marked = {
107107 gfm: true,
108108 mentions: true,
109109 tables: true,
@@ -461,9 +461,9 @@
461461 + '<img class="ssb-avatar-image" alt=""'
462462 + ' src="' + opts.img_base + escape(msg.author.image) + '"'
463463 + ' height="32" width="32">'
464464 + '<a class="ssb-avatar-name"'
465- + ' href="' + opts.feed_base + escape(msg.value.author) + '"'
465 + + ' href="/user/' + escape(msg.value.author) + '"'
466466 + '>' + msg.author.name + '</a>'
467467 + msgTimestamp(msg, name)
468468 + render(opts, c)
469469 + '</div>'

Built with git-ssb-web