mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-26 19:47:20 +00:00
Fixed problem with tags that appear more than once in the tag string
This commit is contained in:
parent
dfbd59c159
commit
4fe408d9d3
@ -256,7 +256,10 @@ $tw.utils.parseStringArray = function(value) {
|
||||
do {
|
||||
match = memberRegExp.exec(value);
|
||||
if(match) {
|
||||
results.push(match[1] || match[2]);
|
||||
var item = match[1] || match[2];
|
||||
if(results.indexOf(item) === -1) {
|
||||
results.push(item);
|
||||
}
|
||||
}
|
||||
} while(match);
|
||||
return results;
|
||||
|
Loading…
Reference in New Issue
Block a user