diff src/protocols/jabber/message.c @ 7894:8a9f0754f0be

[gaim-migrate @ 8554] oops. this will make things easier on gtkimhtml committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 19 Dec 2003 08:31:06 +0000
parents d9a7774b5b3c
children e87e7d9d0132
line wrap: on
line diff
--- a/src/protocols/jabber/message.c	Fri Dec 19 00:37:16 2003 +0000
+++ b/src/protocols/jabber/message.c	Fri Dec 19 08:31:06 2003 +0000
@@ -275,7 +275,7 @@
 				jm->subject = xmlnode_get_data(child);
 		} else if(!strcmp(child->name, "body")) {
 			if(!jm->body)
-				jm->body = xmlnode_get_data(child);
+				jm->body = xmlnode_to_str(child, NULL);
 		} else if(!strcmp(child->name, "html")) {
 			if(!jm->xhtml)
 				jm->xhtml = xmlnode_to_str(child, NULL);