Mercurial > pidgin.yaz
changeset 13451:8355b578a21e
[gaim-migrate @ 15826]
Fix bug 1444462 - No info displayed in tooltip for AIM contact
This was caused by unescaped entities in the available message.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Tue, 07 Mar 2006 10:33:22 +0000 |
parents | 5251e354d213 |
children | fd606401a8d2 |
files | src/protocols/oscar/oscar.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Tue Mar 07 10:27:45 2006 +0000 +++ b/src/protocols/oscar/oscar.c Tue Mar 07 10:33:22 2006 +0000 @@ -7790,8 +7790,10 @@ { if (message != NULL) { + char *tmp = g_markup_escape_text(message, -1); /* Available status messages are plain text */ - g_string_append_printf(str, "\n<b>%s:</b> %s", _("Message"), message); + g_string_append_printf(str, "\n<b>%s:</b> %s", _("Message"), tmp); + g_free(tmp); } } else