diff --git a/scraper.php b/scraper.php index a7f530e..f5e5ec5 100644 --- a/scraper.php +++ b/scraper.php @@ -19,8 +19,13 @@ //*[contains(@class, '$classname')] $r = $dom->find("a.vip['title']"); - $str = $r; -echo html_entity_decode($str); + +echo strip_tags($r); +echo "\n"; + +// Allow

and +echo strip_tags($r, '

'); + // print $r[0]->plaintext. "
";