From daf948b7790a91f3147e913cb40c2fdd5ce134ad Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Fri, 6 Apr 2018 16:15:10 -0400 Subject: [PATCH] fix https://github.com/gorhill/uBlock/pull/3679#issuecomment-379092981 --- src/js/storage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/storage.js b/src/js/storage.js index cb4e23ff4..6a1f722de 100644 --- a/src/js/storage.js +++ b/src/js/storage.js @@ -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()