Format `pre`s more carefully