This has been reported on the [StackOverflow Meta](https://meta.stackexchange.com/questions/63390/rolling-back-question-edits-occasionally-kills-formatting) already - I'm sure they're looking into this.