title: bad conversion from html to pdf with htmldoc
body: <p>I'm trying to convert HTML to PDF using <strong>htmldoc</strong>, but even basic HTML does not convert properly, I have this HTML:</p>
  
  <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
      "http://www.w3.org/TR/html4/loose.dtd"&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;pdf test&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
      &lt;table border="1"&gt;
          &lt;tr&gt;
              &lt;td width="50%"&gt;
                  a
              &lt;/td&gt;
              &lt;td&gt;
                  &lt;p&gt;
                      some address
                  &lt;/p&gt;
                  &lt;p&gt;
                      some other text
                  &lt;/p&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;
                  test&lt;br&gt;
                  test2&lt;br&gt;
                  asdfasdf&lt;br&gt;
                  qwerqwer&lt;br&gt;
                  fasdfasdf
              &lt;/td&gt;
              &lt;td&gt;
                  bla
              &lt;/td&gt;
          &lt;/tr&gt;
      &lt;/table&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p>but it renders like this: <a href="http://boob.pocebo.sk/test.pdf" rel="nofollow">test.pdf</a> using this command:</p>
  
  <pre><code>htmldoc --webpage --color --charset utf-8 -t pdf14 --size a4 test.html -f test.pdf
  </code></pre>
  
  <p>it's <code>HTMLDOC Version 1.9svn</code>, I tried to change charset, add <code>thead, tbody</code> etc and nothing helped .. do you know what can be the problem ?</p>
  
  <p>also it doesn't accept <code>style="padding: 10px"</code> in that paragraphs etc</p>