changeset 30356:0d5dab71be7a

propagate from branch 'im.pidgin.pidgin' (head 637cbec3044756a8ef4273f687d84b18f10b05c4) to branch 'im.pidgin.soc.2010.icq-tlc' (head 12dd3c1a3cb110106f7ef72077145596ea358642)
author ivan.komarov@soc.pidgin.im
date Sun, 23 May 2010 17:22:51 +0000
parents 053776c347c8 (diff) 173e403cffbb (current diff)
children 674a656893a3
files
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c	Sun May 23 16:53:24 2010 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Sun May 23 17:22:51 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);