From da3127e31bf39c85c4c6f4cca806d4bb968be00c Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Wed, 3 Aug 2016 20:32:26 +0200 Subject: [PATCH] Remove all script tags from content --- bridges/LeJournalDuGeekBridge.php | 1 + 1 file changed, 1 insertion(+) diff --git a/bridges/LeJournalDuGeekBridge.php b/bridges/LeJournalDuGeekBridge.php index 991f014..7157b7c 100644 --- a/bridges/LeJournalDuGeekBridge.php +++ b/bridges/LeJournalDuGeekBridge.php @@ -32,6 +32,7 @@ class LeJournalDuGeekBridge extends BridgeAbstract{ } } + $text = preg_replace('#(.*?)#is', '', $text); $text = strip_tags($text, '



  • '); return $text; }