git ssb

7+

dinoworm 🐛 / patchcore



Commit d69600e6a6f16e5bda4f2ab3f10499558811ad23

standardize

Matt McKegg committed on 4/13/2018, 4:05:24 AM
Parent: 8ab7e949190c9ca82f10914e29aae9de082158cb

Files changed

message/html/markdown.jschanged
message/html/markdown.jsView
@@ -41,9 +41,9 @@
4141 : api.emoji.sync.url(emoji)
4242 return renderEmoji(emoji, url)
4343 },
4444 toUrl: (id) => {
45- if (id[0] == '&') return api.blob.sync.url(id)
45 + if (id.startsWith('&')) return api.blob.sync.url(id)
4646 if (mentions[id]) {
4747 return mentions[id]
4848 } else if (ref.isLink(id) || id.startsWith('#') || id.startsWith('?')) {
4949 return id

Built with git-ssb-web