title: Mpdf 7.1 creates pdf file, writes all the text but no HTML tags or CSS
body: <p>First of all, I use a public shared server, and I unable to use composer, and I use my own autoload.</p>
  
  <p>The simptoms are clear:</p>
  
  <ul>
  <li>php version 7.2</li>
  <li>Mpdf version 7.1</li>
  <li><p>every needed component are loaded for Mpdf, and nothing wrong on the log, but debug informations like this:</p>
  
  <p>[2018-05-29 15:44:07] [ debug ] PDF generated in 0.193712 seconds
  [2018-05-29 15:44:08] [ debug ] Compiled in 0.634812 seconds<br>
  [2018-05-29 15:44:08] [ debug ] Peak Memory usage 4.00 MB<br>
  [2018-05-29 15:44:08] [ debug ] PDF file size 16 kB<br>
  [2018-05-29 15:44:08] [ debug ] 1 fonts used</p></li>
  </ul>
  
  <p>I can open the created file, but it contains only the text part of the content, without a single table or style.</p>
  
  <p>Any suggestion?</p>
  
  <p><strong>Edit 1</strong></p>
  
  <p>I've tried these html structures:</p>
  
  <pre><code>$pdfContent = '&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
      &lt;head&gt;&lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
          &lt;base href="'._PAGE_BASE_URL.'/"&gt;
          &lt;style&gt;
              '.file_get_contents('libs/css/reset.css').'
              '.file_get_contents('libs/css/pdf.css').'
          &lt;/style&gt;
          &lt;/head&gt;&lt;body&gt;';
  </code></pre>
  
  <p>and</p>
  
  <pre><code>$pdfContent = '&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;';
  </code></pre>
  
  <p>Of course I used some table, div and span elements with the following PDF render commands:</p>
  
  <pre><code>$mpdf=new \Mpdf\Mpdf();
  $mpdf-&gt;WriteHTML($pdfContent, 0);
  $mpdf-&gt;Output('test.pdf');
  </code></pre>
  
  <p>I've tried to use only the body content for the HTML source and tried to use it with this:</p>
  
  <pre><code>$mpdf=new \Mpdf\Mpdf();
  $mpdf-&gt;WriteHTML(file_get_contents('libs/css/reset.css').PHP_EOL.file_get_contents('libs/css/pdf.css'),1);
  $mpdf-&gt;WriteHTML($pdfContent, 2);
  $mpdf-&gt;Output('test.pdf');
  </code></pre>