1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-07 03:12:33 +01:00
This commit is contained in:
gorhill 2015-03-03 19:21:24 -05:00
parent 1aff89c677
commit 76cc897c89

View File

@ -309,8 +309,8 @@ var onFilterChanged = function() {
// Plain filtering
var filterParts = filterRaw
.replace(/^\s*-(\s+|$)/, '-\xA0')
.replace(/^\s*\\+(\s+|$)/, '+\xA0')
.replace(/^\s*-(\s+|$)/, '-\xA0 ')
.replace(/^\s*\\+(\s+|$)/, '+\xA0 ')
.split(/[ \f\n\r\t\v]+/);
var n = filterParts.length;
for ( var i = 0; i < n; i++ ) {