Convertion an HTML file to MHT file using Aspose.Words is generating weird looking mht file

Hi Team,

When we tried to convert the attached html to mht it is giving the weird look in MHT(PFA). Could you please identify the fix for the same.

ThanksHTMLandMHT.zip (18.1 KB)

Shanthi

@Shanthi555k,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-15684. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi Team,

We’re seeing this with the html containing TD tags with width 100% inside style tag and contains no text (empty tag).
We’d be expecting that this should work with HTML having most of the tags. Hope you find a fix for this, waiting for your response.

Thanks,
Shanthi

@Shanthi555k,

Thanks for sharing the detail. We will inform you via this forum thread once this issue is resolved.

@Shanthi555k,

Thanks for your patience. It is to update you that we have closed the issue (WORDSNET-15684) with ‘Won’t Fix’ resolution.

In your document, the ‘min-width’ CSS property is used to limit size of the first cell and prevent the second cell from getting too wide. However, Aspose.Words ignores this property on import due to the limitation of the document model.