From b0485eef6a5ffd160e9e2a3fb166d261faaf5319 Mon Sep 17 00:00:00 2001 From: Cameron Fischer Date: Thu, 11 Jun 2020 07:03:16 -0400 Subject: [PATCH] Corrected incorrect image source for markdown (#4680) --- plugins/tiddlywiki/markdown/wrapper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tiddlywiki/markdown/wrapper.js b/plugins/tiddlywiki/markdown/wrapper.js index 9cdd8a74b..d622eec5b 100755 --- a/plugins/tiddlywiki/markdown/wrapper.js +++ b/plugins/tiddlywiki/markdown/wrapper.js @@ -144,7 +144,7 @@ function convertNodes(remarkableTree, isStartOfInline) { type: "image", attributes: { tooltip: { type: "string", value: currentNode.alt }, - source: { type: "string", value: currentNode.src } + source: { type: "string", value: decodeURIComponent(currentNode.src) } } }); } else if (currentNode.type === "softbreak") {