Escape error messages on the retry page