diff src/protocols/yahoo/yahoo.c @ 11640:c36adfe4dc57

[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 <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 11 Oct 2005 04:40:28 +0000
parents e95c37720766
children eb14bbcf7249
line wrap: on
line diff
--- 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, "");