diff --git a/src/cli/document/crawl.php b/src/cli/document/crawl.php index 829f25a..5537e79 100644 --- a/src/cli/document/crawl.php +++ b/src/cli/document/crawl.php @@ -364,6 +364,8 @@ foreach($index->search('') [ '/]*)>([^<]*)<\/script>/is', // strip js content '/]*)>([^<]*)<\/style>/is', // strip css content + '/]*)>([^<]*)<\/pre>/is', // strip code content + '/]*)>([^<]*)<\/code>/is', ], '', html_entity_decode(