# HG changeset patch # User Luke Schierer # Date 1079328037 0 # Node ID 4ae3eb203615ee02ee4f18455cbfbc913c6743e0 # Parent ebb160ec42afc453cf2ea56762dd4a4d6675f654 [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 diff -r ebb160ec42af -r 4ae3eb203615 src/protocols/zephyr/zephyr.c --- 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:"))