Topic on User talk:Haggishunter
This is a permanent link to the first version of this post.
You can view later versions on the post history page.
The visual editor is so notorious for doing this kind of thing that we actually investigated turning it off altogether at one point. (We couldn't.)
All we can do is recommend using the source editor as a matter of course.