mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 17:10:29 +00:00
Ensure that the view macro doesn't generate a pair of nested macros
Because that will stop the refresh mechanism from working
This commit is contained in:
parent
1963c56fa9
commit
b17a43707d
@ -54,12 +54,12 @@ exports.executeMacro = function() {
|
||||
if(value === undefined) {
|
||||
return $tw.Tree.Text("");
|
||||
} else {
|
||||
var link = $tw.Tree.Macro("link",{
|
||||
var link = $tw.Tree.Element("span",{},[$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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user