From e7bda080b42ef72bd818413b23c2568bc952272f Mon Sep 17 00:00:00 2001 From: Tone <66808319+Tone866@users.noreply.github.com> Date: Wed, 10 May 2023 22:14:34 +0200 Subject: [PATCH] added iframe to $bad (#3380) iframe can't be rendered in feed reader, so we can delete it --- bridges/GolemBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/GolemBridge.php b/bridges/GolemBridge.php index c2832733..58c07984 100644 --- a/bridges/GolemBridge.php +++ b/bridges/GolemBridge.php @@ -114,7 +114,7 @@ class GolemBridge extends FeedExpander // delete known bad elements foreach ( - $article->find('div[id*="adtile"], #job-market, #seminars, + $article->find('div[id*="adtile"], #job-market, #seminars, iframe, div.gbox_affiliate, div.toc, .embedcontent') as $bad ) { $bad->remove();