1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-15 23:07:18 +00:00

Add support for uri decoded components in tiddlywiki.files files

This commit is contained in:
Jermolene
2016-11-14 15:14:25 +00:00
parent fc483abfc8
commit b8cbc07c54
2 changed files with 9 additions and 5 deletions

View File

@@ -1547,6 +1547,9 @@ $tw.loadTiddlersFromSpecification = function(filepath,excludeRegExp) {
case "basename":
value = path.basename(filename,path.extname(filename));
break;
case "basename-uri-decoded":
value = decodeURIComponent(path.basename(filename,path.extname(filename)));
break;
case "extname":
value = path.extname(filename);
break;