mirror of https://github.com/gorhill/uBlock.git
Minor fix
This commit is contained in:
parent
36346117ae
commit
2a3a796d33
|
@ -1050,7 +1050,7 @@ function evaldataPrune(
|
|||
self.eval = new Proxy(self.eval, {
|
||||
apply(target, thisArg, args) {
|
||||
let dataToEval = `${args[0]}`;
|
||||
const match = /^\s*\(\s*(\{.+\})\s*\)\s*$/.exec(dataToEval);
|
||||
const match = /^\s*\(\s*(\{.+\})\s*\)\s*$/s.exec(dataToEval);
|
||||
if ( match !== null ) {
|
||||
dataToEval = match[1];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue