H A D | Sanitize.php | 72 public $strip_htmltags = ['base', 'blink', 'body', 'doctype', 'embed', 'font', 'form', 'frame', 'frameset', 'html', 'iframe', 'input', 'marquee', 'meta', 'noscript', 'object', 'param', 'script', 'style']; 184 public function strip_htmltags($tags = ['base', 'blink', 'body', 'doctype', 'embed', 'font', 'form', 'frame', 'frameset', 'html', 'iframe', 'input', 'marquee', 'meta', 'noscript', 'object', 'param', 'script', 'style']) argument 476 protected function preprocess($html, $type) argument 479 $html = preg_replace('%</?(?:html|body)[^>]*?'.'>%is', '', $html); 482 // Note: No protection if $html contains a stray </div>! 483 $html = '<div>' . $html . '</div>'; 484 $ret .= '<!DOCTYPE html>'; [all...] |