From c080142af9d7b4d62fdb4d38812c68ee2666aaf7 Mon Sep 17 00:00:00 2001 From: gentlyxu <1243610+gentlyxu@users.noreply.github.com> Date: Sun, 12 May 2024 19:14:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=80=E4=B8=8B=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=EF=BC=8C=E9=80=82=E9=85=8Dphp=208?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/tools/easylist-extend.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/tools/easylist-extend.php b/scripts/tools/easylist-extend.php index 01887c41..c0ba1028 100644 --- a/scripts/tools/easylist-extend.php +++ b/scripts/tools/easylist-extend.php @@ -685,7 +685,7 @@ foreach($ARR_WHITE_RULE_LIST as $row => $v){ continue; } - if(array_key_exists("@@||${matches[1]}^", $ARR_WHITE_RULE_BLK_LIST)){ + if(array_key_exists("@@||{$matches[1]}^", $ARR_WHITE_RULE_BLK_LIST)){ continue; } @@ -695,7 +695,7 @@ foreach($ARR_WHITE_RULE_LIST as $row => $v){ if($v === 1){ $wrote_whitelist[$matches[1]] = null; - $attached_content .= "@@||${matches[1]}^\n"; + $attached_content .= "@@||{$matches[1]}^\n"; $line_count++; continue; } @@ -715,7 +715,7 @@ foreach($ARR_WHITE_RULE_LIST as $row => $v){ continue; } - $attached_content .= "@@||${origin_white_rule}^\n"; + $attached_content .= "@@||{$origin_white_rule}^\n"; $line_count++; }