diff src/protocols/zephyr/zephyr.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 5c6326fe4190
children bf5e48215158
line wrap: on
line diff
--- a/src/protocols/zephyr/zephyr.c	Sat Mar 26 01:20:31 2005 +0000
+++ b/src/protocols/zephyr/zephyr.c	Sat Mar 26 02:43:49 2005 +0000
@@ -757,7 +757,7 @@
 			buf = g_malloc(len + 1);
 			g_snprintf(buf, len + 1, "%s", ptr);
 			g_strchomp(buf);
-			tmpescape = gaim_escape_html(buf);
+			tmpescape = g_markup_escape_text(buf, -1);
 			g_free(buf);
 			buf2 = zephyr_to_html(tmpescape);
 			buf3 = zephyr_recv_convert(gc,buf2, strlen(buf2));