Caption tag not formatted correctly when converting HTML to PDF using Aspose PDF java

When converting html document that contains tag inside a tag, the text contained in the caption tag is going past the section border.

The java code used to convert is:
var document = com.aspose.pdf.Document("test.html", new HtmlLoadOptions()); document.save("output", new PdfSaveOptions());

Aspose pdf version:23.7 JDK17

Attaching test.html file which was used to convert to pdf.
test.zip (536 Bytes)

@rprasadcr

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFJAVA-43065

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

1 Like