mirror of https://github.com/gorhill/uBlock.git
Just use the already existing method
This commit is contained in:
parent
1ce59d205a
commit
ae5717ea72
|
@ -2984,10 +2984,7 @@ const ExtOptionsIterator = class {
|
||||||
}
|
}
|
||||||
if ( i === i0 ) { value.bad = true; }
|
if ( i === i0 ) { value.bad = true; }
|
||||||
value.hn = parser.raw.slice(slices[i0+1], slices[i+1]);
|
value.hn = parser.raw.slice(slices[i0+1], slices[i+1]);
|
||||||
if (
|
if ( parser.hasUnicode() && parser.reUnicodeChar.test(value.hn) ) {
|
||||||
hasBits(this.parser.allBits, BITUnicode) &&
|
|
||||||
parser.reUnicodeChar.test(value.hn)
|
|
||||||
) {
|
|
||||||
value.hn = parser.normalizeHostnameValue(value.hn, 0b0110);
|
value.hn = parser.normalizeHostnameValue(value.hn, 0b0110);
|
||||||
}
|
}
|
||||||
if ( i < this.r ) { i += 3; }
|
if ( i < this.r ) { i += 3; }
|
||||||
|
|
Loading…
Reference in New Issue