Function
Purpleunescape_text
since: 2.7
Declaration [src]
char*
purple_unescape_text (
const char* text
)
Description [src]
Unescapes HTML entities to their literal characters in the text. For example “&” is replaced by ‘&’ and so on. Also converts numerical entities (e.g. “&” is also ‘&’).
This function currently supports the following named entities: “&”, “<”, “>”, “©”, “"”, “®”, “'”
purple_unescape_html()
is similar, but also converts “<br>” into “\n”.
See purple_unescape_html().
Available since: 2.7