1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Fixed tiddler macro context for transclusions

Before this view macros in the transcluded tiddler displayed fields
from the tiddler doing the transcluding
This commit is contained in:
Jeremy Ruston 2012-01-27 17:20:12 +00:00
parent d399a01f15
commit 1aa9b084e2
4 changed files with 7 additions and 4 deletions

View File

@ -30,7 +30,7 @@ exports.macro = {
return store.renderText(targetTiddler.type,text,type,tiddler.title);
} else {
// There's no parameterisation, so we can just render the target tiddler directly
return store.renderTiddler(type,params.target,tiddler.title);
return store.renderTiddler(type,params.target);
}
}
};

File diff suppressed because one or more lines are too long

View File

@ -5,3 +5,7 @@ title: SeventhTiddler
<<echo {{tiddler.title}}>>
<<echo {{"window"}}>>
<<tiddler SixthTiddler>>
<<list all>>

View File

@ -5,4 +5,3 @@ modifier: Jermolene
<<view title>>
<<view modified date>>
<<view modifier link>>
<<list all>>