We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Element style display:none

Hi,

We are using Aspose to convert Word to HTML and sometimes the HTML contains element with style attributes equals to “display:none”.

We wanted to know if we can safely remove those elements in the HTML without breaking anything when converting back to Word format ?

Do you know if Aspose stores technical data needed to convert back to Word in those hidden HTML elements ? If not I think we can safely remove them on our side.

Thank you for your help.

@concord_tech Aspose.Words uses display:none for a hidden text or other hidden content in MS Word. If you need to retain only visible content in the document you can safely remove elements with display:none style.