Sto analizzando un po 'di HTML con Beautiful Soup 3, ma contiene entità HTML che Beautiful Soup 3 non decodifica automaticamente per me:
>>> from BeautifulSoup import BeautifulSoup
>>> soup = BeautifulSoup("<p>£682m</p>")
>>> text = soup.find("p").string
>>> print text
£682m
Come posso decodificare le entità HTML textper ottenere "£682m"invece di "£682m".