library/Haste/Pdf/PdfTemplate.php
public function writeHtml($strHtml, $strCss = '')
    {
        $strHtml = ($strCss ? '<style>' . $strCss . '</style>' : '') . $strHtml;

        $this->objPdf->WriteHTML(html_entity_decode($this->replaceInsertTags($strHtml)));
    }
public function writeHtml($strHtml, $strCss = '')
    {
        $strHtml = ($strCss ? '<style>' . $strCss . '</style>' : '') . $strHtml;

        $this->objPdf->WriteHTML(html_entity_decode($this->replaceInsertTags($strHtml)));
    }
public function writeHtml ( $ strHtml , $ strCss = '' ) { $ strHtml = ( $ strCss ? '<style>' . $ strCss . '</style>' : '' ) . $ strHtml ; $ this -> objPdf -> WriteHTML ( html_entity_decode ( $ this -> replaceInsertTags ( $ strHtml ) ) ) ; }
Writes Html-Code into the pdf at the current position

@param $strHtml

@throws \MpdfException
Writes Html - Code into the pdf at the current position