Been there, had that happen.
Mess up just one closing tag (non-)placement and
Either it truncates the file, or it garbage's it up.
Is there a way to make it leave the file alone and toss the ball back to my court?
"You Broke it: Now, Fix me!"