Declaration [src]

purple_unescape_html (
  const char* html

Description [src]

Unescapes HTML entities to their literal characters and converts “<br>” to “\n”. See purple_unescape_text() for more details.

See purple_unescape_text()


html const char*

The string in which to unescape any HTML entities.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.

Return value

Returns: char*

The text with HTML entities literalized. You must g_free this string when finished with it.

 The caller of the function takes ownership of the data, and is responsible for freeing it.
 The value is a NUL terminated UTF-8 string.