mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-10-30 23:23:02 +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:
		| @@ -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; | ||||
| 			} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jeremy Ruston
					Jeremy Ruston