# Python developer Fredrik Lundh (author of elementtree, among other things) has such a function on his website, which works with decimal, hex and named entities:
# Python developer Fredrik Lundh (author of elementtree, among other things) has such a function on his website, which works with decimal, hex and named entities:
##
##
# Removes HTML or XML character references and entities from a text string.
# Removes HTML or XML character references and entities from a text string.