TCPDF remove <ul> indenting <p>For some reason TCPDF is adding space to the left when I use <code>writeHTML()</code> to print an unordered list. By default, the PDF has a margin of 5 (set with <code>$pdf-&gt;SetMargins(5, 0, 10, true);</code>) but list items get indented. </p> <p>I set <code>$pdf-&gt;setCellPaddings(0,0,0,0);</code> already, which prevents with unwanted (minus-)space for <code>&lt;p&gt;</code> tags, but obviously doesn´t affect lists.</p> <p>The call:</p> <pre><code>$pdf-&gt;writeHTML('&lt;ul&gt;&lt;li&gt;...&lt;/li&gt;&lt;/li&gt;...&lt;/li&gt;&lt;/ul&gt;'); </code></pre> <p>The result:</p> <p><img src="https://i.stack.imgur.com/VEfOE.png" alt="enter image description here"></p> <p>Is there any option I miss?</p>