1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Refactored use of ArgParser

This commit is contained in:
Jeremy Ruston 2012-01-03 11:08:56 +00:00
parent 3515016a7e
commit 2b5676e187

View File

@ -105,8 +105,8 @@ Tiddler.specialTiddlerFieldParsers = {
},
array: function(value) {
if(typeof value === "string") {
var parser = new ArgParser(value,{noNames: true});
return parser.getValuesByName("","");
var parser = new ArgParser(value,{noNames: true, allowEval: false});
return parser.getStringValues();
} else if (value instanceof Array) {
var result = [];
for(var t=0; t<value.length; t++) {