BeautifulSoup adds unnecessary html tags, this should circumvent the unwanted behaviour