def html_unquote(s, encoding=None):
 if isinstance(s, six.binary_type):
  s = s.decode((encoding or default_encoding))
 return _unquote_re.sub(_entity_subber, s)

def html_unquote ( s , encoding = None ) : if isinstance ( s , six . binary_type ) : s = s . decode ( ( encoding or default_encoding ) ) return _unquote_re . sub ( _entity_subber , s )
unquote entities in html .