protected function containsBadHtml($value)
    {
        return preg_match('/<(code|pre|textarea)/', $value) ||
            preg_match('/<script[^\??>]*>[^<\/script>]/', $value) ||
            preg_match('/<!--[\s]+skip\.minification[\s]+-->/', $value) ||
            preg_match('/value=("|\')(.*)([ ]{2,})(.*)("|\')/', $value);
    }
protected function containsBadHtml($value)
    {
        return preg_match('/<(code|pre|textarea)/', $value) ||
            preg_match('/<script[^\??>]*>[^<\/script>]/', $value) ||
            preg_match('/<!--[\s]+skip\.minification[\s]+-->/', $value) ||
            preg_match('/value=("|\')(.*)([ ]{2,})(.*)("|\')/', $value);
    }
protected function containsBadHtml ( $ value ) { return preg_match ( '/<(code|pre|textarea)/' , $ value ) || preg_match ( '/<script[^\??>]*>[^<\/script>]/' , $ value ) || preg_match ( '/<!--[\s]+skip\.minification[\s]+-->/' , $ value ) || preg_match ( '/value=("|\')(.*)([ ]{2,})(.*)("|\')/' , $ value ) ; }
Does the code contain bad html?

@param string $value

@return bool
Does the code contain bad html?