import re


def clean(myString):
    """ Used to clean the 'summary' of a book, which may hold some innapropriate HTML"""
    res = re.sub('&lt;','<',myString)
    res = re.sub('&gt;','>',res)
    res = re.sub('<p([^>]*)>','<p>',res)
    res = re.sub('</*(genre|div|span|h1|h2|h3|font|table|tbody|tr|td|br)([^>]*)>', '', res)
  
    return res