# HG changeset patch # User Mark Doliner # Date 1081995808 0 # Node ID 7a99cfed1996f038186a2a1887cea3813f7d69b6 # Parent 8c4f33ffe17c8753afde818a026dad554cf53def [gaim-migrate @ 9418] The comment should be pretty clear, I hope? Basically HTML over ICQ should be getting escaped again. committer: Tailor Script diff -r 8c4f33ffe17c -r 7a99cfed1996 src/protocols/oscar/oscar.c --- a/src/protocols/oscar/oscar.c Thu Apr 15 01:20:15 2004 +0000 +++ b/src/protocols/oscar/oscar.c Thu Apr 15 02:23:28 2004 +0000 @@ -2358,10 +2358,15 @@ } } - /* If the message came from an ICQ user then escape any HTML */ + /* + * If the message came from an ICQ user then escape any HTML, because + * HTML should not be sent over ICQ as a means to format a message. + * SIM is the only client we know of that sends HTML, everything else + * (ie. official clients) use RTF. Please let us know if this is + * incorrect. + */ if (isdigit(userinfo->sn[0])) { - gchar *tmp2; - gaim_markup_html_to_xhtml(tmp, &tmp2, NULL); + gchar *tmp2 = gaim_escape_html(tmp); g_free(tmp); tmp = tmp2; }