mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-21 05:16:39 +02:00
this fixes #1033
This commit is contained in:
parent
332653284d
commit
cbd0e1d126
1 changed files with 3 additions and 1 deletions
|
@ -109,7 +109,9 @@ var onAbpLinkClicked = function(ev) {
|
|||
}
|
||||
|
||||
// List already subscribed to?
|
||||
var externalLists = details.externalLists.trim().split(/\s+/);
|
||||
// https://github.com/gorhill/uBlock/issues/1033
|
||||
// Split on line separators, not whitespaces.
|
||||
var externalLists = details.externalLists.trim().split(/\s*[\n\r]+\s*/);
|
||||
if ( externalLists.indexOf(location) !== -1 ) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue