1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-24 03:12:46 +01:00
Raymond Hill 2018-04-06 16:15:10 -04:00
parent a015ad0a5c
commit daf948b779
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -733,7 +733,7 @@
// https://github.com/gorhill/uBlock/issues/313
// Always try to fetch the name if this is an external filter list.
if ( listEntry.title === '' || listEntry.group === 'custom' ) {
matches = head.match(/(?:^|\n)(?:!|# )\s*Title:([^\n]+)/i);
matches = head.match(/(?:^|\n)(?:!|# )[\t ]*Title:([^\n]+)/i);
if ( matches !== null ) {
// https://bugs.chromium.org/p/v8/issues/detail?id=2869
// JSON.stringify/JSON.parse is to work around String.slice()