changeset 27669:caed9d0b1e67

Revert this to what it was originally. Since the Get Info dialog renders "Purple HTML" or "IMHTML", trust the purple_* routine to format the <br/> properly.
author Paul Aurich <paul@darkrain42.org>
date Thu, 16 Jul 2009 22:53:37 +0000
parents c868575ded5d
children b448b259e3cf
files libpurple/protocols/jabber/buddy.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/buddy.c	Thu Jul 16 20:22:05 2009 +0000
+++ b/libpurple/protocols/jabber/buddy.c	Thu Jul 16 22:53:37 2009 +0000
@@ -702,7 +702,7 @@
 		const char *status_name = jabber_buddy_state_get_name(jbr->state);
 
 		if (jbr->status) {
-			purdy = purple_strreplace(jbr->status, "\n", "<br />\n");
+			purdy = purple_strdup_withhtml(jbr->status);
 
 			if (purple_strequal(status_name, purdy))
 				status_name = NULL;