Cleanup HTML errors