Fixing bug in PdfHtml.