"It" is not a preposition, and they have relaxed that grammar rule quite a bit. I wouldn't publish a paper with a preposition at the end of a sentence, but for most formal communication, it is fine.