Simple and short'; $pure_html = $purifier->purify($html); echo $pure_html; ?>