1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 00:50:28 +00:00

Corrected incorrect image source for markdown (#4680)

This commit is contained in:
Cameron Fischer 2020-06-11 07:03:16 -04:00 committed by GitHub
parent 5b9dbf7b95
commit b0485eef6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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") {