Commit fd958f9e5ebdd7619db1724eadaabc5ff27aa4b4
this seems to make blobs clickable
Ev Bogue committed on 9/11/2018, 9:47:05 PMParent: fe195d78c8c4fadba1362945cf2e75864ca3dcad
Files changed
tools.js | changed |
tools.js | ||
---|---|---|
@@ -391,9 +391,10 @@ | ||
391 | 391 … | |
392 | 392 … | module.exports.markdown = function (msg, md) { |
393 | 393 … | return {innerHTML: markdown.block(msg, {toUrl: function (url, image) { |
394 | 394 … | if(url[0] == '%' || url[0] == '@' || url[0] == '#') return '#' + url |
395 | - if(!image) return url | |
396 | 395 … | if(url[0] !== '&') return url |
396 … | + //if(url[0] == '&') return config.blobsUrl + url | |
397 … | + //if(!image) return url | |
397 | 398 … | return config.blobsUrl + url |
398 | 399 … | }})} |
399 | 400 … | } |
Built with git-ssb-web