Mercurial > pidgin
diff libpurple/protocols/yahoo/util.c @ 28918:5ffedd1578f0
Don't send <span>...</span> on Yahoo. Fixes #11242, #10961.
committer: John Bailey <rekkanoryo@rekkanoryo.org>
| author | Fartash Faghri |
|---|---|
| date | Fri, 29 Jan 2010 01:30:38 +0000 |
| parents | f4a95b3424d1 |
| children | d1cecbc467c6 |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/util.c Thu Jan 28 17:44:28 2010 +0000 +++ b/libpurple/protocols/yahoo/util.c Fri Jan 29 01:30:38 2010 +0000 @@ -884,6 +884,8 @@ } 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);
