This is because the "designMode" implementation of your particular
browser does this. On other browsers it does not do this. You will
have to use PHP (or whatever language you are using) to clean up stuff
you don't like before it gets posted to the database. A simple...
$s = str_replace('_moz_dirty=""','',$s);
...would do fine.