Update prepare-failure message to remove HTML tags.