Lines Matching refs:html
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'])
476 protected function preprocess($html, $type)
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>';
485 $content_type = 'text/html';
487 $ret .= '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';
491 $ret .= '<html><head>';
493 $ret .= '</head><body>' . $html . '</body></html>';