libb.htmlunquote

htmlunquote(text)[source]

Decode HTML-encoded text.

Parameters:

text (str) – HTML-encoded string.

Returns:

Decoded text.

Return type:

str

Example:

>>> htmlunquote(u'<'&">')
'<\'&">'