That's a rather fundamental flaw in their whole business model, isn't it? Advertisers who don't want their ads appearing next to user generated content, on a social network, have missed something rather important.
It's obviously not a flaw. Facebook is highly profitable. The vast majority of user generated content is inoffensive. We're just discussing a small minority of edge cases.