title: Export Html to PDF using ITextsharp
body: <p>I have tried the code below, I am also facing an error. I am using latest DLL.</p>
  
  <pre><code>String strSelectUserListBuilder = @"&lt;html&gt;&lt;body&gt;
                                  &lt;h1&gt;My First Heading&lt;/h1&gt;
                                  &lt;p&gt;My first paragraph.&lt;/p&gt;
                              &lt;/body&gt;
                          &lt;/html&gt;";
  
  String htmlText = strSelectUserListBuilder.ToString();
  
  List&lt;IElement&gt; htmlarraylist = iTextSharp.text.html.simpleparser.HTMLWorker.ParseToList(new StringReader(htmlText), null);
  </code></pre>
  
  <p>I got this error: </p>
  
  <blockquote>
    <p>The given key was not present in the dictionary.</p>
  </blockquote>