How can I get rid of DIV and SPAN wrappers from mediawiki export?

I swear the mediawiki export plugin didn’t used to do this, but now it does—it wraps every paragraph with <div> and <span> gibberish, and I can’t figure out how to get rid of it. When I google something to do the trick, it gives me stuff about regexps or Javascript, and I just want a simple way to get rid of all this junk I don’t need.