private function getUnifiedHtml()
    {
        $htmlWithoutUnprocessableTags = $this->removeUnprocessableTags($this->html);
        $htmlWithDocumentType = $this->ensureDocumentType($htmlWithoutUnprocessableTags);

        return $this->addContentTypeMetaTag($htmlWithDocumentType);
    }
private function getUnifiedHtml()
    {
        $htmlWithoutUnprocessableTags = $this->removeUnprocessableTags($this->html);
        $htmlWithDocumentType = $this->ensureDocumentType($htmlWithoutUnprocessableTags);

        return $this->addContentTypeMetaTag($htmlWithDocumentType);
    }
private function getUnifiedHtml ( ) { $ htmlWithoutUnprocessableTags = $ this -> removeUnprocessableTags ( $ this -> html ) ; $ htmlWithDocumentType = $ this -> ensureDocumentType ( $ htmlWithoutUnprocessableTags ) ; return $ this -> addContentTypeMetaTag ( $ htmlWithDocumentType ) ; }
Returns the HTML with the unprocessable HTML tags removed and
with added document type and Content-Type meta tag if needed.

@return string the unified HTML

@throws \BadMethodCallException
Returns the HTML with the unprocessable HTML tags removed and with added document type and Content - Type meta tag if needed .