changeset 28614:e8717ca47d25

Oops, it helps to actually use the stripped message.
author Paul Aurich <paul@darkrain42.org>
date Tue, 08 Sep 2009 22:07:21 +0000
parents da4667a7a129
children 4cb882afbd6f
files libpurple/protocols/jabber/message.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/message.c	Tue Sep 08 17:15:37 2009 +0000
+++ b/libpurple/protocols/jabber/message.c	Tue Sep 08 22:07:21 2009 +0000
@@ -1225,7 +1225,7 @@
 	jm->id = jabber_get_next_id(jm->js);
 
 	tmp = purple_utf8_strip_unprintables(msg);
-	purple_markup_html_to_xhtml(msg, &xhtml, &jm->body);
+	purple_markup_html_to_xhtml(tmp, &xhtml, &jm->body);
 	g_free(tmp);
 	tmp = jabber_message_smileyfy_xhtml(jm, xhtml);
 	if (tmp) {