changeset 8449:4ae3eb203615

[gaim-migrate @ 9179] aatharuv is the man: marv requests, he delivers. in this case is html entity handling that marv's previous patch suggested would require work in zepher. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 15 Mar 2004 05:20:37 +0000
parents ebb160ec42af
children 42c47e5b722f
files src/protocols/zephyr/zephyr.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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:"))