def xhtml_unescape(value):
    return re.sub(r"&(#?)(\w+?);", _convert_entity, _unicode(value))


# The fact that json_encode wraps json.dumps is an implementation detail.
# Please see https://github.com/facebook/tornado/pull/706
# before sending a pull request that adds **kwargs to this function.
Un-escapes an XML-escaped string.
dataset/ETHPy150Open limodou/uliweb/uliweb/core/template.py/xhtml_unescape