Ipfs-companion loses format of imported text

ipfs-companion has a nice tool to import text, but if you visit the CID, it looks like all the line spacing / paragraphing has been lost.

Is there a way to ensure that the formatting is maintained? Or perhaps one just needs to view the content using a different tool than e.g. ipfs-desktop.