Mercurial > pidgin
changeset 27568:2d541e194416
The Get Info dialog renders in HTML, so replace \n with <br/>\n.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Thu, 16 Jul 2009 03:55:24 +0000 |
parents | 199cf148cdf8 |
children | 36aa9ed8cd39 |
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 02:46:36 2009 +0000 +++ b/libpurple/protocols/jabber/buddy.c Thu Jul 16 03:55:24 2009 +0000 @@ -702,7 +702,7 @@ const char *status_name = jabber_buddy_state_get_name(jbr->state); if (jbr->status) { - purdy = g_markup_escape_text(jbr->status, -1); + purdy = purple_strreplace(jbr->status, "\n", "<br />\n"); if (purple_strequal(status_name, purdy)) status_name = NULL;