pidgin: b60c6e50: The Get Info dialog renders in HTML, so ...
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Thu Jul 16 00:00:53 EDT 2009
-----------------------------------------------------------------
Revision: b60c6e508d79ec72acbf30f8c59bc89c9cbb83c7
Ancestor: cfafc0d96db21305969d35633d88caf195ea63d9
Author: darkrain42 at pidgin.im
Date: 2009-07-16T03:55:24
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/b60c6e508d79ec72acbf30f8c59bc89c9cbb83c7
Modified files:
libpurple/protocols/jabber/buddy.c
ChangeLog:
The Get Info dialog renders in HTML, so replace \n with <br/>\n.
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/buddy.c ea440986ef1627d067a48793811fcffc6140af0e
+++ libpurple/protocols/jabber/buddy.c f129e10a90da6a2a0c5346c3fcd5c361bcd83821
@@ -702,7 +702,7 @@ add_jbr_info(JabberBuddyInfo *jbi, const
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;
More information about the Commits
mailing list