title: DomPDF Issue - Random blank pages on huge PDF
body: <p>I've been using <strong>DomPDF</strong> within CodeIgniter to generate a catalogue with over 200 pages of data. Within this there are many, many tables with multiple styles attached to them.</p>
  
  <p>Although I'm not using any CSS <code>page-break</code> attributes, it seems there are random spurs of <strong>blank pages</strong> spread throughout the generated document. Sometimes even 15 in a row. Is there any explanation as to why this is happening or any potential fixes that anyone knows of?</p>
  
  <p>I can't seem to find anyone else who is having a similar problem so I have no reference.</p>
  
  <p><strong>The generation code used in the view can be found here:</strong>
  <a href="https://gist.github.com/sixteenstudio/22e7027706defd8df35b" rel="nofollow">https://gist.github.com/sixteenstudio/22e7027706defd8df35b</a></p>
  
  <p><strong>And the DomPDF generation initialization code looks like this:</strong></p>
  
  <pre><code>$dompdf = new DOMPDF();
  $dompdf-&gt;set_paper('A4', 'portrait');
  $dompdf-&gt;load_html($html);
  $dompdf-&gt;render();
  $dompdf-&gt;stream("catalogue.pdf");
  </code></pre>