[FuturaSciences] Strip inline scripts from content

This commit is contained in:
ORelio 2020-03-25 21:09:43 +01:00
parent 00dd81a8aa
commit 062dd7f8a5

View file

@ -129,6 +129,7 @@ class FuturaSciencesBridge extends FeedExpander {
$contents = stripWithDelimiters($contents, 'fs:xt:clickname="', '"');
$contents = StripWithDelimiters($contents, '<section class="module-toretain module-propal-nl', '</section>');
$contents = stripWithDelimiters($contents, '<script ', '</script>');
$contents = stripWithDelimiters($contents, '<script>', '</script>');
return $headline . trim($contents);
}