Magnetic field effects on ionization inhomogeneities advected by motions of the neutral gas