From cf6d94dc2ad9e96e8dc2dfdee26c63f936a92963 Mon Sep 17 00:00:00 2001 From: Korytov Pavel Date: Tue, 8 Aug 2023 09:58:08 +0500 Subject: [PATCH] [EconomistBridge] Fix strange image urls (#3600) --- bridges/EconomistBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/EconomistBridge.php b/bridges/EconomistBridge.php index 1b15555d..9a73a852 100644 --- a/bridges/EconomistBridge.php +++ b/bridges/EconomistBridge.php @@ -159,7 +159,7 @@ class EconomistBridge extends FeedExpander $svelte->parent->removeChild($svelte); } foreach ($elem->find('img') as $strange_img) { - if (!str_contains($strange_img->src, 'https://economist.com')) { + if (!str_contains($strange_img->src, 'economist.com')) { $strange_img->src = 'https://economist.com' . $strange_img->src; } }