Randomly moved lines onto same row - Messed up formatting!



I have been creating a website in Atom for a few weeks. Saving, uploading and testing fine. Then I check the html files on a different machine and also check the page source and all of the code has been wrapped onto 3 or 4 lines, losing the structure of the html.

I have included a screenshot that shows what the code now looks like(i have wrapped it so its all visible)

Does anybody know what I’ve done and how to avoid this happening again? The documents have all been fine, it has seemed to have happened randomly.

Thanks for any help.


Please forget this post! Been so stupid its unreal.

This is a result of the files being compressed and minified on the server. As the raw backup is fine.

Can tell it’s a Monday morning!