git ssb

16+

cel / patchfoo



Commit 52e97a91ec0efa0fe8f50b98bed339a449df233a

Remove name parameter from URL

This allows dillo to cache the image even when the name is changed
cel committed on 10/4/2017, 2:42:22 AM
Parent: 066c97d7a3d2602912dcaa5296a01c5407e868b3

Files changed

lib/render.jschanged
lib/render.jsView
@@ -25,10 +25,8 @@
2525 }
2626
2727 MdRenderer.prototype.image = function (ref, title, text) {
2828 var href = this.render.imageUrl(ref)
29- var name = text || title
30- if (name) href += '?name=' + encodeURIComponent(name)
3129 return h('img', {
3230 src: href,
3331 alt: this.render.getImageAlt(ref, text),
3432 title: title || undefined

Built with git-ssb-web