We have an issue where we’ve used Aspose.Words to perform a Mail Merge operation on a document, then convert that to HTML, we then allow the user to edit this document using a WYSIWYG editor and upon submission, we use Aspose.Words again to convert that modified HTML to a PDF.
If the MS Word document has a document Title attribute on it, that comes back in the generated HTML within the head tag as a title tag value. This gets sent back and what we’re finding is that when calling DocumentBuilder.InsertHtml and saving that result to PDF, it’s printing the document title at the top of the page. if the title attribute is removed from the document properties in MS Word altogether, then this issue goes away.
Is there a way to suppress this outside of stripping the title tag from the markup before converting it?