comparison libpurple/protocols/oscar/oscar.c @ 30588:89de882d25b1

merged from im.pidgin.pidgin
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Fri, 04 Jun 2010 14:33:12 +0900
parents 9623db527d1e 17d5518c5cad
children 810a6be1920f
comparison
equal deleted inserted replaced
30563:9c24dd1f1c1a 30588:89de882d25b1
4677 if (oscar_util_valid_name_sms(name)) { 4677 if (oscar_util_valid_name_sms(name)) {
4678 /* Messaging an SMS (mobile) user--strip HTML */ 4678 /* Messaging an SMS (mobile) user--strip HTML */
4679 tmp2 = purple_markup_strip_html(tmp1); 4679 tmp2 = purple_markup_strip_html(tmp1);
4680 is_html = FALSE; 4680 is_html = FALSE;
4681 } else { 4681 } else {
4682 tmp2 = g_strdup(tmp1); 4682 /* ICQ 6 wants its HTML wrapped in these tags. Oblige it. */
4683 tmp2 = g_strdup_printf("<HTML><BODY>%s</BODY></HTML>", tmp1);
4683 is_html = TRUE; 4684 is_html = TRUE;
4684 } 4685 }
4685 g_free(tmp1); 4686 g_free(tmp1);
4686 tmp1 = tmp2; 4687 tmp1 = tmp2;
4687 4688