diff --git a/src/ts/parser.ts b/src/ts/parser.ts index cb1ed21e..4c5e2891 100644 --- a/src/ts/parser.ts +++ b/src/ts/parser.ts @@ -1014,8 +1014,8 @@ const matcher = (p1:string,matcherArg:matcherArg) => { } case 'filter':{ const array = arra[1].split('§') - return array.filter((f) => { - return f !== '' && array.indexOf(f) === array.lastIndexOf(f) + return array.filter((f, i) => { + return f !== '' && i === array.indexOf(f) }).join('§') } }