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)