Thanks for your inquiry. I have tested HTML to PDF conversion scenario with shared HTML using Aspose.Pdf for Java 10.4.0 and managed to observe the reported issue. For further investigation, I have logged an issue in our issue tracking system as PDFNEWJAVA-34964 and also linked your request to it. We will keep you updated via this thread regarding the issue status.
Please feel free to contact us for any further assistance.
Thank you for you response.