Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/synchronizer.js

Issue 29680684: [$csp1 adblockpluscore] Issue 6329 - Allow whitespace in filter option values (Closed)
Patch Set: Addressed some of Manish's initial feedback Created Feb. 13, 2018, 11:55 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/filterClasses.js ('k') | test/filterClasses.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/synchronizer.js
diff --git a/lib/synchronizer.js b/lib/synchronizer.js
index 0ece468158ad79e764a781940701b840a80b1c54..a547dcda5104791452a1cd8c0e2d73c3f4dcc1f0 100644
--- a/lib/synchronizer.js
+++ b/lib/synchronizer.js
@@ -280,7 +280,7 @@ let Synchronizer = exports.Synchronizer =
let filters = [];
for (let line of lines)
{
- line = Filter.normalize(line);
+ line = Filter.stripJunk(line);
if (line)
filters.push(Filter.fromText(line));
}
« no previous file with comments | « lib/filterClasses.js ('k') | test/filterClasses.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld