Hoi zorro,
I had the same problems a few time but I found a way
Just make a map on your HD and name it MY PAGE or something like that
Now place here the last working html page that you have
after rebuilding your html you always have a copy of the working bugfree file in that map
Don't mess with the original without a backup.