Mercurial > pidgin.yaz
diff libpurple/protocols/oscar/oscar.c @ 30571:17d5518c5cad
Copy the third hunk from 3c30f64efedafc379b6536852bbb3b6ef5f1f6c9 to trunk
Somehow this didn't get propagated in bcae499af351044e047d297b8032fa4dca99c147
So recent official ICQ clients display our HTML tags :-(
Refs #11863
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 31 May 2010 18:14:40 +0000 |
parents | f18b6eb0ed02 |
children | 89de882d25b1 a47346a46cb7 674a656893a3 |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c Mon May 31 16:04:33 2010 +0000 +++ b/libpurple/protocols/oscar/oscar.c Mon May 31 18:14:40 2010 +0000 @@ -4651,7 +4651,8 @@ tmp2 = purple_markup_strip_html(tmp1); is_html = FALSE; } else { - tmp2 = g_strdup(tmp1); + /* ICQ 6 wants its HTML wrapped in these tags. Oblige it. */ + tmp2 = g_strdup_printf("<HTML><BODY>%s</BODY></HTML>", tmp1); is_html = TRUE; } g_free(tmp1);