title: iText not converting unordered lists (from HTML to PDF)
body: <p>I am using iText to convert plain HTML to PDF. The problem is iText does not seem to convert my <code>ul</code> and <code>li</code> tags. </p>
  
  <p>My JSP is:</p>
  
  <pre><code>&lt;ul class="list-unstyed list-inline"&gt;
     &lt;c:forEach var="a" items="${qvm.esito.attachments}"
                varStatus="attachmentstatus"&gt;
         &lt;li class="text-center"&gt;
             &lt;a href='/intranet/utils/download/folder/${a.filename}'&gt;&lt;theme:displayDocumentThumbImage
                      filename="${a.filename}"/&gt;&lt;/a&gt;
  
              &lt;p&gt;${a.fileTitle}&lt;/p&gt;
         &lt;/li&gt;
     &lt;/c:forEach&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>and my function is:</p>
  
  <pre><code>String path = Configuration.getTomcatTempFolderPath() + File.separator + "report.pdf";
  InputStream is = new ByteArrayInputStream(html.getBytes());
  Document document = new Document();
  PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream(new File(path)));
  document.open();
  </code></pre>
  
  <p>XMLWorkerHelper.getInstance().parseXHtml(writer, document, new StringReader(html));
      document.close();</p>
  
  <p>...</p>
  
  <p>I don't see how my code is important because I manage to download a pdf file but the information in the ul and li tags is not displayed and the pdf generated stops at the first encounter of the ul tag. </p>