1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-02 00:22:59 +00:00

A better fix for refreshing nested macros

This commit is contained in:
Jeremy Ruston
2012-06-19 16:56:55 +01:00
parent 2282a825ec
commit 9d39e9a5f1
2 changed files with 9 additions and 5 deletions

View File

@@ -54,12 +54,12 @@ exports.executeMacro = function() {
if(value === undefined) {
return $tw.Tree.Text("");
} else {
var link = $tw.Tree.Element("span",{},[$tw.Tree.Macro("link",{
var link = $tw.Tree.Macro("link",{
srcParams: {to: value},
content: [$tw.Tree.Text(value)],
isBlock: this.isBlock,
wiki: this.wiki
})]);
});
link.execute(parents,this.tiddlerTitle);
return link;
}