mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-04-10 20:56:39 +00:00
Ensure JS macros return text
This commit is contained in:
parent
26e50b81e5
commit
9a067b8dac
@ -171,7 +171,7 @@ Widget.prototype.evaluateMacroModule = function(name,actualParams,defaultValue)
|
||||
else for(var i=0; i<actualParams.length; ++i) {
|
||||
args.push(actualParams[i].value);
|
||||
}
|
||||
return macro.run.apply(this,args);
|
||||
return macro.run.apply(this,args).toString();
|
||||
} else {
|
||||
return defaultValue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user