The playbook used to propel an ultranationalist to the top of the polls in last month’s election must not be repeated