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();