We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

HTML to PDF conversion with empty tfoot tag fails

Hi,
When converting HTML file with a table testfile.pdf (50.8 KB)
testfiles.zip (47.7 KB)
containing empty tfoot tag:

then body of such table is not generated (only header).

Example source HTML and output PDF attached.

Aspose.PDF.dll - 17.8.0.0

/Bartek

@jhas

Thank you for contacting support.

We have worked with the data shared by you and have been able to reproduce the issue with below code snippet in our environment. A ticket with ID PDFNET-45177 has been logged in our issue management system for further investigation and resolution. The ticket ID has been linked with this thread so that you will receive notification as soon as the ticket is resolved.

    var baseDir = @"D:\testfiles\";
    HtmlLoadOptions hlo = new HtmlLoadOptions(baseDir);
    Document doc = new Document(baseDir + "testfile.html", hlo);
    doc.Save(baseDir + "test_18.7.pdf", Aspose.Pdf.SaveFormat.Pdf);

We are sorry for the inconvenience.

Hi,

Any news on this case?

/Bartek

@jhas

Thank you for getting back to us.

We are afraid PDFNET-45177 has not been investigated yet owing to previously logged and critical issues. However, we have recorded your concerns and will let you know as soon as some significant progress will be made in this regard. We appreciate your patience and comprehension in this regard.