mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-03-27 05:46:55 +00:00
We don't need to clone the children of the link macro
This commit is contained in:
parent
6264bf1bbe
commit
96c5153dea
@ -75,9 +75,9 @@ exports.executeMacro = function() {
|
||||
// Create the link
|
||||
var children;
|
||||
if(linkInfo.suppressLink) {
|
||||
children = this.cloneContent();
|
||||
children = this.content;
|
||||
} else {
|
||||
children = [$tw.Tree.Element("a",linkInfo.attributes,this.cloneContent())];
|
||||
children = [$tw.Tree.Element("a",linkInfo.attributes,this.content)];
|
||||
}
|
||||
for(var t=0; t<children.length; t++) {
|
||||
children[t].execute(this.parents,this.tiddlerTitle);
|
||||
|
Loading…
x
Reference in New Issue
Block a user