XLS, convert to HTML provides different output to view in browser

I’m trying to convert an XLS file into HTML. When I do this through the command line ( I’m using Mac OSX ), it only converts the first column of the spreadsheet.

However when I go into Calc and use the Preview in Web Browser option, it comes out perfectly. All columns are converted and formatting is preserved.

This is the command I’m running, am I missing something?

sudo ./soffice --headless --convert-to html --outdir ~/Desktop/test ~/Documents/workbook.xlsx