comparison src/protocols/oscar/oscar.c @ 8461:16485e87b7bb

[gaim-migrate @ 9191] Fix a problem displaying AIM tooltips with the dude or chick has an away message containing an unmatched < This breaks the string freeze horrendously. I'm afraid every string for every language will have to be retranslated. Sorry. Just kidding. Really. Don't hate me because I'm beautiful. This commit brought to you by the follow quote: "Chewie, take the professor in the back and plug him into the hyperdrive." committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 17 Mar 2004 02:25:03 +0000
parents d9cf0c2f4339
children e8aa46291f64
comparison
equal deleted inserted replaced
8460:03b9ce930f0d 8461:16485e87b7bb
5752 const gchar *tmp3; 5752 const gchar *tmp3;
5753 tmp1 = gaim_strcasereplace(away_utf8, "<BR>", "\n"); 5753 tmp1 = gaim_strcasereplace(away_utf8, "<BR>", "\n");
5754 g_free(away_utf8); 5754 g_free(away_utf8);
5755 tmp2 = gaim_markup_strip_html(tmp1); 5755 tmp2 = gaim_markup_strip_html(tmp1);
5756 g_free(tmp1); 5756 g_free(tmp1);
5757 tmp3 = gaim_str_sub_away_formatters(tmp2, gaim_account_get_username(gaim_connection_get_account(gc))); 5757 tmp1 = gaim_strreplace(tmp2, "<", "&lt;");
5758 g_free(tmp2); 5758 g_free(tmp2);
5759 tmp3 = gaim_str_sub_away_formatters(tmp1, gaim_account_get_username(gaim_connection_get_account(gc)));
5760 g_free(tmp1);
5759 tmp = ret; 5761 tmp = ret;
5760 ret = g_strconcat(tmp, _("<b>Away Message:</b> "), tmp3, "\n", NULL); 5762 ret = g_strconcat(tmp, _("<b>Away Message:</b> "), tmp3, "\n", NULL);
5761 g_free(tmp); 5763 g_free(tmp);
5762 } 5764 }
5763 } 5765 }