Mercurial > pidgin.yaz
comparison src/protocols/msn/msn.c @ 10732:c4cb90065e1d
[gaim-migrate @ 12334]
"gaim_escape_html (according to Ethan) predates
g_markup_escape_text. Current code in Gaim uses both
functions. This patch removes gaim_escape_html from the
API and replaces all calls in the Gaim tree with
g_markup_escape_text. I included a ChangeLog.API note.
As far as I can tell, this still works perfectly.
This is obviously intended for HEAD only, as it removes a
public function." --rlaager
this was discussed extensively this morning
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sat, 26 Mar 2005 02:43:49 +0000 |
parents | 41a2c35c0941 |
children | 55af3fa46329 |
comparison
equal
deleted
inserted
replaced
10731:783ca1f1ebdb | 10732:c4cb90065e1d |
---|---|
749 /* | 749 /* |
750 * In MSN, you can't send messages to yourself, so | 750 * In MSN, you can't send messages to yourself, so |
751 * we'll fake like we received it ;) | 751 * we'll fake like we received it ;) |
752 */ | 752 */ |
753 body_str = msn_message_to_string(msg); | 753 body_str = msn_message_to_string(msg); |
754 body_enc = gaim_escape_html(body_str); | 754 body_enc = g_markup_escape_text(body_str, -1); |
755 g_free(body_str); | 755 g_free(body_str); |
756 | 756 |
757 format = msn_message_get_attr(msg, "X-MMS-IM-Format"); | 757 format = msn_message_get_attr(msg, "X-MMS-IM-Format"); |
758 msn_parse_format(format, &pre, &post); | 758 msn_parse_format(format, &pre, &post); |
759 body_str = g_strdup_printf("%s%s%s", pre ? pre : "", | 759 body_str = g_strdup_printf("%s%s%s", pre ? pre : "", |