1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-07 03:12:33 +01:00

Properly report :spath operator of procedural cosmetic filters in logger

Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/453
This commit is contained in:
Raymond Hill 2019-03-08 07:26:55 -05:00
parent 58d23ec037
commit e49debd5dd
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -332,6 +332,8 @@
raw.push(':not', '(', decompile(task[1]), ')'); raw.push(':not', '(', decompile(task[1]), ')');
break; break;
case ':spath': case ':spath':
raw.push(task[1]);
break;
case ':watch-attrs': case ':watch-attrs':
case ':xpath': case ':xpath':
raw.push(task[0], '(', task[1], ')'); raw.push(task[0], '(', task[1], ')');