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

Free Support Forum - aspose.com

Unable to retrieve ordered/unordered list items in txt file while converting html to text using aspose.html


We are trying to use aspose.html to convert html file to text. During the conversion, numbers/bullets etc are not retained in the text file. Is there any way we can include these styling info in txt files using aspose.html



Can you please share your sample HTML file (in .zip format) along with the sample code snippet that you used? We will test the scenario in our environment and address it accordingly.

Please find the attached filetest.zip (1.5 KB)

Sample code used:
How to Convert HTML to Text in Java (aspose.com)


We were able to reproduce the similar behavior in our environment. Therefore, an issue as HTMLJAVA-1221 has been logged in our issue tracking system. We will further look into its details and keep you posted with the status of its rectification. Please be patient and spare us some time.

We are sorry for the inconvenience.