pidgin: dc8e1468: Don't send <span>...</span> on Yahoo. F..

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Thu Jan 28 20:44:45 EST 2010


-----------------------------------------------------------------
Revision: dc8e146830c1b3fa49695fd76eba4bc811e7ec53
Ancestor: 501e5b77fa18b2d5241ecdd978f2d87382de8f28
Author: Fartash Faghri
Date: 2010-01-29T01:30:38
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/dc8e146830c1b3fa49695fd76eba4bc811e7ec53

Modified files:
        COPYRIGHT ChangeLog libpurple/protocols/yahoo/util.c

ChangeLog: 

Don't send <span>...</span> on Yahoo.  Fixes #11242, #10961.

-------------- next part --------------
============================================================
--- COPYRIGHT	925d46388546cd5bd35a22c929862dff66dbaf94
+++ COPYRIGHT	b7abf3e6fc2e1887cbd2d870e4b6b5b76d3ff64f
@@ -147,6 +147,7 @@ Larry Ewing
 Marc Etcheverry
 David Everly
 Larry Ewing
+Fartash Faghri
 G?bor Farkas
 Jesse Farmer
 Gavan Fantom (gavan)
============================================================
--- ChangeLog	30a9802a274b9166c99f01866969a39b21526c7c
+++ ChangeLog	a0312dcbc26d190d686dff664077db2e2257ddf7
@@ -32,6 +32,9 @@ version 2.6.6 (??/??/20??):
 	* Wrap XHTML messages in <p>, as described in XEP-0071, for compatibility
 	  with some clients.
 
+	Yahoo:
+	* Don't send <span> and </span> tags.  (Fartash Faghri)
+
 	Pidgin:
 	* Correctly size conversation and status box entries when the
 	  interior-focus style property is diabled. (Gabriel Schulhof)
============================================================
--- libpurple/protocols/yahoo/util.c	cc9f3b7845dd6121684a31b431359c558e94ce5b
+++ libpurple/protocols/yahoo/util.c	6b3f181f8ec3546a8cb6a844b05f63bc80fb9304
@@ -884,6 +884,8 @@ char *yahoo_html_to_codes(const char *sr
 						}
 						g_free(etag);
 					}
+				} else if (g_str_equal(tag_name, "span") || g_str_equal(tag_name, "/span")) {
+					/* Do nothing */
 				} else {
 					/* We don't know what the tag is. Send it unmodified. */
 					g_string_append(dest, tag);


More information about the Commits mailing list