diff src/protocols/irc/msgs.c @ 8163:da57fb60680a

[gaim-migrate @ 8875] IRC quoting for HTML entities by Daniel Atallah committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Thu, 22 Jan 2004 02:44:13 +0000
parents 7a6e30eb7aad
children 8efff3aa4e39
line wrap: on
line diff
--- a/src/protocols/irc/msgs.c	Wed Jan 21 20:39:00 2004 +0000
+++ b/src/protocols/irc/msgs.c	Thu Jan 22 02:44:13 2004 +0000
@@ -798,8 +798,13 @@
 		g_free(nick);
 		return;
 	}
-	msg = irc_mirc2html(tmp);
+
+	msg = gaim_escape_html(tmp);
 	g_free(tmp);
+
+	tmp = irc_mirc2html(msg);
+	g_free(msg);
+	msg = tmp;
 	if (notice) {
 		tmp = g_strdup_printf("(notice) %s", msg);
 		g_free(msg);