forked from blallo/rss-bridge
Remove all script tags from content
This commit is contained in:
parent
83d7f138ed
commit
da3127e31b
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ class LeJournalDuGeekBridge extends BridgeAbstract{
|
|||
}
|
||||
}
|
||||
|
||||
$text = preg_replace('#<script(.*?)>(.*?)</script>#is', '', $text);
|
||||
$text = strip_tags($text, '<p><b><a><blockquote><img><em><br/><br><ul><li>');
|
||||
return $text;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue