Index: src/protocols/irc/msgs.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/protocols/irc/msgs.c,v
retrieving revision 1.31
diff -u -p -r1.31 msgs.c
--- src/protocols/irc/msgs.c 18 Jul 2004 18:47:20 -0000 1.31
+++ src/protocols/irc/msgs.c 24 Jul 2004 17:26:14 -0000
@@ -184,14 +184,18 @@ void irc_msg_endwhois(struct irc_conn *i
irc->whois.ircop ? _(" (ircop)") : "",
irc->whois.identified ? _(" (identified)") : "");
if (irc->whois.away) {
- g_string_append_printf(info, _("%s: %s
"), _("Away"), irc->whois.away);
+ char *tmp = g_markup_escape_text(irc->whois.away, strlen(irc->whois.away));
g_free(irc->whois.away);
+ g_string_append_printf(info, _("%s: %s
"), _("Away"), tmp);
+ g_free(tmp);
}
if (irc->whois.userhost) {
+ char *tmp = g_markup_escape_text(irc->whois.name, strlen(irc->whois.name));
+ g_free(irc->whois.name);
g_string_append_printf(info, _("%s: %s
"), _("Username"), irc->whois.userhost);
- g_string_append_printf(info, _("%s: %s
"), _("Realname"), irc->whois.name);
+ g_string_append_printf(info, _("%s: %s
"), _("Realname"), tmp);
g_free(irc->whois.userhost);
- g_free(irc->whois.name);
+ g_free(tmp);
}
if (irc->whois.server) {
g_string_append_printf(info, _("%s: %s"), _("Server"), irc->whois.server);