Tuesday 9 June 2020

Corrupt Open Live Writer draft fix

I use Open Live Writer to create posts for this blog.

Recently one of my draft posts became corrupted.

In a draft of about 100 lines and many pictures only the first few lines were selectable in the Edit view.

When I switched to Source view all the unselectable text and pictures disappeared destroying my post.

The problem was a stray </div> tag in the post that somehow appeared after inserted a split post.

Since most of the text disappeared when I switched to Source view I had trouble deleting the problematic </div>.

The solution was to close Open Live Writer and restart. But before loading my corrupt draft file, switch to Source view.

This way all the html source appeared and I was able to delete the unmatched </div> tag.