Mercurial > pidgin.yaz
diff src/util.h @ 8163:da57fb60680a
[gaim-migrate @ 8875]
IRC quoting for HTML entities by Daniel Atallah
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Thu, 22 Jan 2004 02:44:13 +0000 |
parents | fa6395637e2c |
children | fec4c1fb2ac8 |
line wrap: on
line diff
--- a/src/util.h Wed Jan 21 20:39:00 2004 +0000 +++ b/src/util.h Thu Jan 22 02:44:13 2004 +0000 @@ -266,6 +266,16 @@ */ char *gaim_markup_linkify(const char *str); +/** + * Escapes HTML special characters to be displayed literally. + * For example '&' is replaced by "&" and so on + * + * @param html The string in which to escape any HTML special characters + * + * @return the text with HTML special characters escaped + */ +char *gaim_escape_html(const char *html); + /*@}*/