1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-02 14:29:55 +00:00
This commit is contained in:
Jermolene 2013-11-12 20:29:22 +00:00
parent 8ec92405fd
commit b885743efe

View File

@ -218,7 +218,7 @@ Widget.prototype.computeAttributes = function() {
value = self.wiki.getTextReference(attribute.textReference,"",self.getVariable("currentTiddler")); value = self.wiki.getTextReference(attribute.textReference,"",self.getVariable("currentTiddler"));
} else if(attribute.type === "macro") { } else if(attribute.type === "macro") {
var text = self.getVariable(attribute.value.name,{params: attribute.value.params}); var text = self.getVariable(attribute.value.name,{params: attribute.value.params});
value = self.wiki.renderText("text/plain","text/vnd.tiddlywiki",text,{parentWidget: this}); value = self.wiki.renderText("text/plain","text/vnd.tiddlywiki",text,{parentWidget: self});
} else { // String attribute } else { // String attribute
value = attribute.value; value = attribute.value;
} }