Hi,
I converted word file using Aspose and got html as below. font type (Calibri(body) exist in body tag So is there any configuration to keep font type in
instead of
Strange
Hi,
I converted word file using Aspose and got html as below. font type (Calibri(body) exist in body tag So is there any configuration to keep font type in
instead of
Strange
Could you please ZIP and attach your input Word document, problematic and expected output HTML here for testing? We will investigate the issue and provide you more information on it.
You are facing the expected behavior of Aspose.Words. Starting from the 20.8 version, Aspose.Words writes default “font-size” and “font-family” values to <body>
when saving a HTML document with inline CSS.
Yes it is. Can I change that behavior to be as WhatIExpect.html?
Unfortunately, no. Aspose.Words does not export default style to each paragraph tag. It is better to export default font in body tag instead of each paragraph.