src/protocols/zephyr/zephyr.c

changeset 8449
3b071e4cc18b
parent 8435
7475bfdcaa20
child 8451
bc6976e84e8f
--- a/src/protocols/zephyr/zephyr.c	Mon Mar 15 01:44:39 2004 +0000
+++ b/src/protocols/zephyr/zephyr.c	Mon Mar 15 05:20:37 2004 +0000
@@ -407,11 +407,14 @@
 		char *sendertmp = g_strdup_printf("%s",gaim_zephyr_get_sender());
 		GaimConvImFlags flags = 0;
 		if (len > 0) {
+                       gchar* tmpescape;
 			buf = g_malloc(len + 1);
 			g_snprintf(buf, len + 1, "%s", ptr);
 			g_strchomp(buf);
-			buf2 = zephyr_to_html(buf);
+                       tmpescape = gaim_escape_html(buf);
+			buf2 = zephyr_to_html(tmpescape);
 			g_free(buf);
+                       g_free(tmpescape);
 			if (!g_ascii_strcasecmp(notice.z_class, "MESSAGE") &&
                             !g_ascii_strcasecmp(notice.z_class_inst, "PERSONAL")) {
 				if (!g_ascii_strcasecmp(notice.z_message, "Automated reply:"))

mercurial