mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Improve jsonl-prune-... scriptlets
This commit is contained in:
parent
484ae68528
commit
d18311213d
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ function jsonlPruneFn(
|
|||
linesAfter.push(lineBefore);
|
||||
continue;
|
||||
}
|
||||
linesAfter.push(safe.JSON_stringifyFn(objAfter));
|
||||
linesAfter.push(safe.JSON_stringify(objAfter).replace(/\//g, '\\/'));
|
||||
}
|
||||
return linesAfter.join('\n');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue