def remove_escaping(text):
"""
Clean text from special `escape` symbols.
Reference: https://wiki.python.org/moin/EscapingHtml.
"""
html_unescape_table = {
"&": "&",
""": '"',
"'": "'",
"'": "'",
">": ">",
"<": "<"
}
return unescape(text, html_unescape_table)
评论列表
文章目录