HTML formatting gone

HTML formatting gone

I used to be able to copy and paste the HTML code into an editor, and it would maintain proper tabs and formatting. Now it's all dumped into one unreadable line of mess.  What happened?