Function

Purplemarkup_strip_html

since: 2.0

Declaration [src]

char*
purple_markup_strip_html (
  const char* str
)

Description [src]

Strips HTML tags from a string.

Available since: 2.0

Parameters

str

Type: const char*

The string to strip HTML from.

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

Return value

Type: char*

The new string without HTML. 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.