mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-11 09:31:01 +01:00
Fix regression in syntax highlighting
Specifically, fix trailing comments improperly rendered as filter option. Regression from: - https://github.com/gorhill/uBlock/commit/6d8b310d9422#diff-fb99537d908d0afc8d76e7c98bbc9fea
This commit is contained in:
parent
d9dc098d58
commit
3f9c5b9bc4
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ CodeMirror.defineMode('ubo-static-filtering', function() {
|
|||
}
|
||||
if (
|
||||
parserSlot >= parser.optionsSpan.i &&
|
||||
parserSlot < parser.rightSpaceSpan.i
|
||||
parserSlot < parser.commentSpan.i
|
||||
) {
|
||||
const bits = parser.slices[parserSlot];
|
||||
let style;
|
||||
|
|
Loading…
Reference in a new issue