1
0
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:
Jermolene 2014-10-22 10:33:56 +01:00
parent 26e50b81e5
commit 9a067b8dac

View File

@ -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;
}