Worth knowing Sarah
I notice that you are in visual mode there - do you work in visual mode?

I always work in text mode and disable the visual mode so that I don't activate it by mistake and mess up the html.