Mercurial > pidgin.yaz
changeset 7773:d9a7774b5b3c
[gaim-migrate @ 8418]
JEP-0071 got updated to be more in line with XHTML modules or something, so now
we need this. wee!
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sat, 06 Dec 2003 07:37:14 +0000 |
parents | 85abf91f2387 |
children | 9261b15d7b25 |
files | src/protocols/jabber/message.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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);