mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-22 05:37:41 +02: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 (
|
if (
|
||||||
parserSlot >= parser.optionsSpan.i &&
|
parserSlot >= parser.optionsSpan.i &&
|
||||||
parserSlot < parser.rightSpaceSpan.i
|
parserSlot < parser.commentSpan.i
|
||||||
) {
|
) {
|
||||||
const bits = parser.slices[parserSlot];
|
const bits = parser.slices[parserSlot];
|
||||||
let style;
|
let style;
|
||||||
|
|
Loading…
Reference in a new issue