1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-26 19:47:20 +00:00

Allow a suffix to be specified for indirected files

As well as the existing ability to add a prefix
This commit is contained in:
Jeremy Ruston 2013-07-14 23:06:37 +01:00
parent d99ed1816d
commit 5e93778112

View File

@ -1103,6 +1103,9 @@ $tw.loadTiddlersFromPath = function(filepath,excludeRegExp) {
if(tidInfo.prefix) {
text = tidInfo.prefix + text;
}
if(tidInfo.suffix) {
text = text + tidInfo.suffix;
}
tidInfo.fields.text = text;
tiddlers.push({tiddlers: [tidInfo.fields]});
});