diff --git a/apps/ssb.json b/apps/ssb.json index 11e37fe7a..f350cc269 100644 --- a/apps/ssb.json +++ b/apps/ssb.json @@ -1,5 +1,5 @@ { "type": "tildefriends-app", "emoji": "🐌", - "previous": "&pc/SH1ng7DyH2BZFDMcYoUMYxRdhrwXGzoMhQho7ju4=.sha256" + "previous": "&6j+dB7MfKW+rrUTaoBMTVVEWCiIB/F84IWWvlVfsxH0=.sha256" } \ No newline at end of file diff --git a/apps/ssb/tf-utils.js b/apps/ssb/tf-utils.js index 715801e7d..c9cc7ac2a 100644 --- a/apps/ssb/tf-utils.js +++ b/apps/ssb/tf-utils.js @@ -46,14 +46,14 @@ function image(node, entering) { } export function markdown(md) { - var reader = new commonmark.Parser({safe: true}); - var writer = new commonmark.HtmlRenderer(); + let reader = new commonmark.Parser({safe: true}); + let writer = new commonmark.HtmlRenderer(); writer.image = image; - var parsed = reader.parse(md || ''); + let parsed = reader.parse(md || ''); parsed = linkify.transform(parsed); parsed = hashtagify.transform(parsed); - var walker = parsed.walker(); - var event, node; + let walker = parsed.walker(); + let event, node; while ((event = walker.next())) { node = event.node; if (event.entering) {