1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

Text-slicer: Fix image URLs

This commit is contained in:
Jermolene 2017-12-21 22:14:08 +00:00
parent 57e1fc6cd8
commit 642a6505a1

View File

@ -304,7 +304,7 @@ Slicer.prototype.onImage = function(node) {
// role: this.role
// });
}
this.addTextToCurrentChunk("[img[" + url + "]]");
this.addTextToCurrentChunk("[img[" + $tw.utils.resolvePath(url,this.baseTiddlerTitle) + "]]");
};
Slicer.prototype.onCloseTag = function(name) {