--- a/src/protocols/irc/cmds.c Fri May 20 21:15:55 2005 -0400
+++ b/src/protocols/irc/cmds.c Mon May 23 15:04:48 2005 -0400
@@ -74,7 +74,7 @@
int irc_cmd_ctcp_action(struct irc_conn *irc, const char *cmd, const char *target, const char **args)
GaimConnection *gc = gaim_account_get_connection(irc->account);
- char *action, *dst, **newargs;
+ char *action, *escaped, *dst, **newargs; @@ -112,7 +112,9 @@
convo = gaim_find_conversation_with_account(target, irc->account);
- action = g_strdup_printf("/me %s", args[0]);
+ escaped = g_markup_escape_text(args[0], -1); + action = g_strdup_printf("/me %s", escaped); if (action[strlen(action) - 1] == '\n')
action[strlen(action) - 1] = '\0';
if (gaim_conversation_get_type(convo) == GAIM_CONV_CHAT)