fix <pre> formatting in backup/restore