Function
Purplemarkup_escape_text
Declaration [src]
gchar*
purple_markup_escape_text (
const gchar* text,
gssize length
)
Description [src]
Escapes special characters in a plain-text string so they display correctly as HTML. For example, & is replaced with & and < is replaced with <
This is exactly the same as g_markup_escape_text(), except that it does not change ‘ to ' because ' is not a valid HTML 4 entity, and is displayed literally in IE7.