Mercurial > pidgin
diff src/protocols/gg/gg.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 | 54ac161a876e |
children | 94cc67130789 |
line wrap: on
line diff
--- a/src/protocols/gg/gg.c Sat Mar 26 01:20:31 2005 +0000 +++ b/src/protocols/gg/gg.c Sat Mar 26 02:43:49 2005 +0000 @@ -1,6 +1,6 @@ /* * gaim - Gadu-Gadu Protocol Plugin - * $Id: gg.c 12199 2005-03-07 02:19:09Z deryni9 $ + * $Id: gg.c 12334 2005-03-26 02:43:49Z lschiere $ * * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> * @@ -527,7 +527,7 @@ break; imsg = charset_convert(e->event.msg.message, "CP1250", "UTF-8"); gaim_str_strip_cr(imsg); - jmsg = gaim_escape_html(imsg); + jmsg = g_markup_escape_text(imsg, -1); serv_got_im(gc, user, jmsg, 0, e->event.msg.time); g_free(imsg); g_free(jmsg);