Mercurial > pidgin.yaz
comparison src/protocols/oscar/oscar.c @ 8571:a3ea56f147c7
[gaim-migrate @ 9319]
Because sometimes escaping "<" just isn't enough.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 03 Apr 2004 14:44:51 +0000 |
parents | 88988327a4e0 |
children | ddbcef747dc7 |
comparison
equal
deleted
inserted
replaced
8570:1a62ab7225f3 | 8571:a3ea56f147c7 |
---|---|
5756 const gchar *tmp3; | 5756 const gchar *tmp3; |
5757 tmp1 = gaim_strcasereplace(away_utf8, "<BR>", "\n"); | 5757 tmp1 = gaim_strcasereplace(away_utf8, "<BR>", "\n"); |
5758 g_free(away_utf8); | 5758 g_free(away_utf8); |
5759 tmp2 = gaim_markup_strip_html(tmp1); | 5759 tmp2 = gaim_markup_strip_html(tmp1); |
5760 g_free(tmp1); | 5760 g_free(tmp1); |
5761 tmp1 = gaim_strreplace(tmp2, "<", "<"); | 5761 tmp1 = gaim_escape_html(tmp2); |
5762 g_free(tmp2); | 5762 g_free(tmp2); |
5763 tmp3 = gaim_str_sub_away_formatters(tmp1, gaim_account_get_username(gaim_connection_get_account(gc))); | 5763 tmp3 = gaim_str_sub_away_formatters(tmp1, gaim_account_get_username(gaim_connection_get_account(gc))); |
5764 g_free(tmp1); | 5764 g_free(tmp1); |
5765 tmp = ret; | 5765 tmp = ret; |
5766 ret = g_strconcat(tmp, _("<b>Away Message:</b> "), tmp3, "\n", NULL); | 5766 ret = g_strconcat(tmp, _("<b>Away Message:</b> "), tmp3, "\n", NULL); |