pre and code tags were wrong way round