title: itext pdf generation fail on parsing some html tags
body: <p>I have this html code, which reside in db and I want to parse it in pdf.
  I am using itext for pdf generation. 
  here is the html in db: </p>
  
  <pre><code>&lt;p&gt;no note.&lt;/p&gt;&lt;br&gt;
  &lt;ul&gt;&lt;br&gt;
  &lt;li&gt;&lt;strong&gt;section&lt;/strong&gt;&lt;/li&gt;&lt;br&gt;
  &lt;/ul&gt;&lt;br&gt;
  &lt;ol&gt;&lt;br&gt;
  &lt;li&gt;first&lt;/li&gt;&lt;br&gt;
  &lt;li&gt;&lt;em&gt;second&lt;/em&gt;&lt;/li&gt;&lt;br&gt;
  &lt;li&gt;&lt;span style="text-decoration: underline;"&gt;third&lt;/span&gt;&lt;/li&gt;&lt;br&gt;
  &lt;/ol&gt;&lt;br&gt;
  </code></pre>
  
  <p>and here is what is parsed and inserted into pdf:<br></p>
  
  <pre><code>&lt;p&gt;no note.&lt;/p&gt;&lt;br&gt;
  &lt;strong&gt;section&lt;/strong&gt;&lt;br&gt;
  first&lt;br&gt;
  &lt;em&gt;second&lt;/em&gt;&lt;br&gt;
  &lt;span style="text-decoration: underline;"&gt;third&lt;/span&gt;&lt;br&gt;
  </code></pre>
  
  <p>and also here is my code to parse the html into pdf:</p>
  
  <pre><code>org.jsoup.nodes.Document doc = Jsoup.parse(text);
  List&lt;Element&gt; objects;
  objects = HTMLWorker.parseToList(new StringReader(doc.outerHtml()), null);
  for (Element object : objects) {
          Element ele = (Element) object;
          document.add(ele);
  }
  </code></pre>
  
  <p>as can be seen numbers and bullet are not shown (which are "ol" and "li" tags in html).
  How to solve this?</p>
  
  <p><strong>Edit</strong>  </p>
  
  <p>For more clarification. Here is the text I have in html:</p>
  
  <p><img src="https://i.stack.imgur.com/2zASv.png" alt="enter image description here"></p>
  
  <p>and here is the note inserted into pdf:</p>
  
  <p><img src="https://i.stack.imgur.com/FKbIo.png" alt="enter image description here"></p>