Use BeautifulSoup to standardise html before comparing