Function

Purpleunescape_html

since: 2.0

Declaration [src]

char*
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().

Available since: 2.0

Parameters

html

Type: 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

Type: 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.