Thanks for the template file and details.
I have tested your scenario/case using the following sample code with our latest version/fix: Aspose.Cells for Java v17.12.2, (please try it), I found the issue but only with second line, i.e., having text “one space before” as single space is not inserted before the text:
Workbook workbook = new Workbook("F:\\Files\\htmloutput\\files\\table spaces.xlsx");
Please find attached the output HTML file in the archive for your reference:
files1.zip (10.9 KB)
See the screenshot when opening the output file into MS Excel for your reference:
Do you confirm this issue or you find any other issue (please elaborate)? After your confirmation, we will log a ticket for your issue, so it could be figured out soon.