code: def unescape(s):
    
    s = s.replace("&lt;", "<")
    s = s.replace("&gt;", ">")
    # this has to be last:
    s = s.replace("&amp;", "&")
    return s
docs: Unescapes html. Taken from https://wiki.python.org/moin/EscapingHtml