Both times I have been able to get a job after quitting without too much hassle. Shorter gaps (< 3 months) in my employment history I don't explain. Longer gaps I stress the open source online communities I worked with while searching.
If you have the safety net to quit a toxic environment without something lined up, I recommend it. In my opinion it is better to have a gap in employment than to bring the mistrust and stress with you into the next job.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.