mirror of https://github.com/gorhill/uBlock.git
Addendum to last commit as per feedback
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/2372
This commit is contained in:
parent
42a7cfced3
commit
1c67869c42
|
@ -3061,7 +3061,13 @@ Parser.utils = Parser.prototype.utils = (( ) => {
|
|||
return String.fromCharCode(first+2, last+2);
|
||||
}
|
||||
case 64: /* T_HEXCHAR, 'HexChar' */ {
|
||||
if ( node.flags.Code === '01' ) { return '\x00'; }
|
||||
if (
|
||||
node.flags.Code === '01' ||
|
||||
node.flags.Code === '02' ||
|
||||
node.flags.Code === '03'
|
||||
) {
|
||||
return '\x00';
|
||||
}
|
||||
return node.flags.Char;
|
||||
}
|
||||
case 128: /* T_SPECIAL, 'Special' */ {
|
||||
|
|
Loading…
Reference in New Issue