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

Free Support Forum - aspose.com

Empty space issue

Hi,


Empty space in the word documents (.docx) are found to be converted to following span in the generated HTML.


It would be better if it converted without span tag or &nbsp.

Many Thanks
Ragu


Hi Ragu,


Thanks for your inquiry.

You can avoid these empty span tags by joining all runs of the same formatting before converting to HTML. Please see the code below.

doc.JoinRunsWithSameFormatting();

Thanks,
Thanks, it works perfectly fine.

Many thanks
Ragu