diff src/protocols/jabber/message.c @ 7095:c8bf2da398e3

[gaim-migrate @ 7660] html.[ch] is gone. Everything inside was namespaced and put in util.[ch]. One less ugly part of gaim in the tree. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 01 Oct 2003 03:43:18 +0000
parents 67c4e9d39242
children bf630f7dfdcd
line wrap: on
line diff
--- a/src/protocols/jabber/message.c	Wed Oct 01 03:01:25 2003 +0000
+++ b/src/protocols/jabber/message.c	Wed Oct 01 03:43:18 2003 +0000
@@ -21,9 +21,9 @@
 #include "internal.h"
 
 #include "debug.h"
-#include "html.h"
 #include "notify.h"
 #include "server.h"
+#include "util.h"
 
 #include "buddy.h"
 #include "chat.h"
@@ -348,7 +348,7 @@
 
 	buf = g_strdup_printf("<html xmlns='http://jabber.org/protocol/xhtml-im'><body>%s</body></html>", msg);
 
-	html_to_xhtml(buf, &xhtml, &plain);
+	gaim_markup_html_to_xhtml(buf, &xhtml, &plain);
 	g_free(buf);
 
 	jm->body = plain;
@@ -378,7 +378,7 @@
 	jm->type = JABBER_MESSAGE_CHAT;
 	jm->to = g_strdup_printf("%s@%s", chat->room, chat->server);
 
-	html_to_xhtml(message, NULL, &jm->body);
+	gaim_markup_html_to_xhtml(message, NULL, &jm->body);
 
 	jabber_message_send(jm);
 	jabber_message_free(jm);