diff --git a/src/cli/document/crawl.php b/src/cli/document/crawl.php index b20be42..829f25a 100644 --- a/src/cli/document/crawl.php +++ b/src/cli/document/crawl.php @@ -361,7 +361,10 @@ foreach($index->search('') PHP_EOL . ' ', ], preg_replace( - '/]*)>([^<]*)<\/script>/is', // strip js content + [ + '/]*)>([^<]*)<\/script>/is', // strip js content + '/]*)>([^<]*)<\/style>/is', // strip css content + ], '', html_entity_decode( $value