protected function tidy($html)
{
// Reduce the vulnerability for scripting attacks
// Make XHTML 1.1 strict using htmlLawed
$config = array('safe' => 1, 'valid_xhtml' => 1, 'no_deprecated_attr' => 2, 'deny_attribute' => 'div -id', 'hook' => '\\Pressbooks\\Sanitize\\html5_to_xhtml11');
return htmLawed($html, $config);
}