Incorrect conversion for uBO syntax
Yuki2718 opened this issue · 0 comments
Yuki2718 commented
webhostingpost.com#%#//scriptlet('adjust-setInterval', ',dataType:_', '1000', '0.02')
in Annoyances filter is converted to webhostingpost.com##+js(nano-setInterval-booster, ,dataType:_, 1000, 0.02)
https://github.com/AdguardTeam/Scriptlets/blob/master/src/helpers/converter.ts#L375
Probably should be:
preparedParams = [
parsedParams[0],
...parsedParams.slice(1).map(param => replaceAll(param, COMMA_SEPARATOR, ESCAPED_COMMA_SEPARATOR))
];