From fee217c59c5ba0fe2797651f9bda9662d36bef72 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Mon, 8 Jul 2019 12:33:11 -0400 Subject: [PATCH] Fix regression introduced in 2f63fb3fd451 Related feedback: - https://github.com/gorhill/uBlock/commit/2f63fb3fd451bd3ca5795cfd1be46335ce6d3da7#commitcomment-34222571 --- src/js/codemirror/ubo-dynamic-filtering.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/codemirror/ubo-dynamic-filtering.js b/src/js/codemirror/ubo-dynamic-filtering.js index b2507edb2..a3c408f23 100644 --- a/src/js/codemirror/ubo-dynamic-filtering.js +++ b/src/js/codemirror/ubo-dynamic-filtering.js @@ -129,6 +129,7 @@ CodeMirror.defineMode('ubo-dynamic-filtering', ( ) => { ) { return skipToEnd(stream, 'error'); } + return null; } // URL rule if ( /[^a-z_-]+/.test(token) || invalidURLRuleTypes.has(token) ) {