Format body text before saving it.