1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 15:32:28 +02:00
This commit is contained in:
gorhill 2017-11-10 06:56:38 -05:00
parent bc036724c1
commit d3d522ac46
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -295,7 +295,7 @@
return haystack.replace(
new RegExp(
'(^|\\n)' +
this.escapeRegex(needle) +
µb.escapeRegex(needle) +
'(\\n|$)', 'g'),
'\n'
).trim();