(text, table=_escape_html_table)
return text.translate(table)
Escape &, <, > as well as single and double quotes for HTML.
Escape &, <, > as well as single and double quotes for HTML.
Escape & < > as well as single and double quotes for HTML .
def escape_html(text, table=_escape_html_table):
    """Escape &, <, > as well as single and double quotes for HTML."""
    return text.translate(table)
def escape_html ( text , table = _escape_html_table ) : return text . translate ( table )