changeset 15427:ce0cd7474b64

Fix bug #1645435. Thanks to Dennis Ristuccia (more commonly known as EvilDennisR) for helping me find the bug.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 31 Jan 2007 01:48:35 +0000
parents 7865f302c5fb
children 4fcf3a17f03e 4222b5790e0b
files pidgin/plugins/convcolors.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/plugins/convcolors.c	Sun Jan 28 18:19:20 2007 +0000
+++ b/pidgin/plugins/convcolors.c	Wed Jan 31 01:48:35 2007 +0000
@@ -124,6 +124,11 @@
 		t = *displaying;
 		*displaying = gaim_markup_strip_html(t);
 		g_free(t);
+
+		t = *displaying;
+		*displaying = g_markup_escape_text(t, -1);
+		g_free(t);
+
 		/* Restore the links */
 		t = *displaying;
 		*displaying = gaim_markup_linkify(t);