# HG changeset patch # User Mark Doliner # Date 1129005628 0 # Node ID c36adfe4dc576771adf07b06600dc7dce69f3df5 # Parent 1e210533450573b9caa06da521f77962c52b0b68 [gaim-migrate @ 13917] Fix a bug where Yahoo! away messages would sometimes appear with HTML markup. It would happen when you become idle--Yahoo! apparently needs to resend the away message to the server when it flags you as idle. When it does so, it reads the away message from gc->away, but it does not properly strip the HTML. Also, we might need to get some WYSIWYG action for the away message edit box... committer: Tailor Script diff -r 1e2105334505 -r c36adfe4dc57 src/protocols/yahoo/yahoo.c --- a/src/protocols/yahoo/yahoo.c Tue Oct 11 03:38:12 2005 +0000 +++ b/src/protocols/yahoo/yahoo.c Tue Oct 11 04:40:28 2005 +0000 @@ -3176,7 +3176,7 @@ tmp = gaim_status_get_attr_string(status, "message"); if (tmp != NULL) { msg = yahoo_string_encode(gc, tmp, NULL); - msg2 = gaim_unescape_html(msg); + msg2 = gaim_markup_strip_html(msg); yahoo_packet_hash_str(pkt, 19, msg2); } else { yahoo_packet_hash_str(pkt, 19, "");