diff --git a/src/Readability.php b/src/Readability.php
index 306fcf4..4336bca 100644
--- a/src/Readability.php
+++ b/src/Readability.php
@@ -108,10 +108,6 @@ class Readability implements LoggerAwareInterface
protected $useTidy;
// raw HTML filters
protected $pre_filters = [
- // remove obvious scripts
- '!!is' => '',
- // remove obvious styles
- '!!is' => '',
// remove spans as we redefine styles and they're probably special-styled
'!?span[^>]*>!is' => '',
// HACK: firewall-filtered content
@@ -366,6 +362,9 @@ class Readability implements LoggerAwareInterface
$this->logger->debug($this->lightClean ? 'Light clean enabled.' : 'Standard clean enabled.');
+ $this->clean($articleContent, 'style');
+ $this->clean($articleContent, 'script');
+
$this->cleanStyles($articleContent);
$this->killBreaks($articleContent);