AdguardTeam / AdguardTeam/AdguardBrowserExtension

Syntax highlighting is not applied if a rule has `[$***]` modifier

オープン
#2,877 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
Bug Priority: P4 Status: In Progress
主要言語
TypeScript
スター
4.4k
フォーク
449
PR マージ指標
30日以内にマージされた PR はありません

説明

### Please answer the following questions for yourself before submitting an issue

- [X] Filters were updated before reproducing an issue
- [X] I checked the [knowledge base](https://adguard.com/kb/) and found no answer
- [X] I checked to make sure that this issue has not already been filed

### AdGuard Extension version

4.4.1

### Browser version

Chrome 126.0.6478.128

### OS version

Windows 10 x64

### Ad Blocking

AdGuard Base filter

### Privacy

_No response_

### Social

_No response_

### Annoyances

_No response_

### Security

_No response_

### Other

_No response_

### Language-specific

_No response_

### What Stealth Mode options do you have enabled?

_No response_

### Issue Details

Steps to reproduce:
Add these rules and compare the highlighting

```
[$path=/aaa]example.com#%#//scriptlet('json-prune')
example.com#%#//scriptlet('json-prune')
```

### Expected Behavior

Highlighting is applied to all valid rules.

### Actual Behavior

Highlighting is not applied to the rule with modifier

![image](https://github.com/user-attachments/assets/b837e25f-ce29-44cf-a21e-1aff4ba92320)

### Screenshots

_No response_

### Additional Information

_No response_

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。