# HG changeset patch # User Mark Doliner # Date 1190621839 0 # Node ID 275fe4d671589324e10151329230d934fd97d6cf # Parent 4c910fcb5b0a532cdb8b52c1fe02af2ff8bda34a When entering the message for a substatus, get the text from the imhtml using gtk_imhtml_get_markup() instead of gtk_imhtml_get_text() so that we grab the HTML version and not the plain text version. This allows people to have HTML in substatuses. Whoops. Fixes #3268. diff -r 4c910fcb5b0a -r 275fe4d67158 pidgin/gtksavedstatuses.c --- a/pidgin/gtksavedstatuses.c Mon Sep 24 01:47:27 2007 +0000 +++ b/pidgin/gtksavedstatuses.c Mon Sep 24 08:17:19 2007 +0000 @@ -1411,7 +1411,7 @@ -1); type = purple_account_get_status_type(dialog->account, id); if (purple_status_type_get_attr(type, "message") != NULL) - message = gtk_imhtml_get_text(GTK_IMHTML(dialog->message), NULL, NULL); + message = gtk_imhtml_get_markup(GTK_IMHTML(dialog->message)); name = purple_status_type_get_name(type); status_editor = dialog->status_editor;