[gaim-migrate @ 8418]

Sat, 06 Dec 2003 07:37:14 +0000

author
Nathan Walp <nwalp@pidgin.im>
date
Sat, 06 Dec 2003 07:37:14 +0000
changeset 7773
5d92f7e60cc4
parent 7772
6288282c84c1
child 7774
5509acd47020

[gaim-migrate @ 8418]
JEP-0071 got updated to be more in line with XHTML modules or something, so now
we need this. wee!

src/protocols/jabber/message.c file | annotate | diff | comparison | revisions
--- a/src/protocols/jabber/message.c	Fri Dec 05 21:42:00 2003 +0000
+++ b/src/protocols/jabber/message.c	Sat Dec 06 07:37:14 2003 +0000
@@ -452,7 +452,7 @@
 	jm->events = JABBER_MESSAGE_EVENT_COMPOSING;
 	jm->to = g_strdup(who);
 
-	buf = g_strdup_printf("<html xmlns='http://jabber.org/protocol/xhtml-im'><body>%s</body></html>", msg);
+	buf = g_strdup_printf("<html xmlns='http://jabber.org/protocol/xhtml-im'><body xmlns='http://www.w3.org/1999/xhtml'>%s</body></html>", msg);
 
 	gaim_markup_html_to_xhtml(buf, &xhtml, &jm->body);
 	g_free(buf);
@@ -484,7 +484,7 @@
 	jm->type = JABBER_MESSAGE_GROUPCHAT;
 	jm->to = g_strdup_printf("%s@%s", chat->room, chat->server);
 
-	buf = g_strdup_printf("<html xmlns='http://jabber.org/protocol/xhtml-im'><body>%s</body></html>", msg);
+	buf = g_strdup_printf("<html xmlns='http://jabber.org/protocol/xhtml-im'><body xmlns='http://www.w3.org/1999/xhtml'>%s</body></html>", msg);
 
 	gaim_markup_html_to_xhtml(buf, &xhtml, &jm->body);
 	g_free(buf);

mercurial