Mercurial > pidgin
diff libpurple/tests/test_yahoo_util.c @ 27750:1b440a47dc04
Change Yahoo to send <span> tags with a color style attribute instead of <font>
tags, which are deprecated in recent versions of html
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 31 Jul 2009 01:28:41 +0000 |
parents | 1b5b24dc0310 |
children | 301c966fa7af |
line wrap: on
line diff
--- a/libpurple/tests/test_yahoo_util.c Fri Jul 31 01:06:42 2009 +0000 +++ b/libpurple/tests/test_yahoo_util.c Fri Jul 31 01:28:41 2009 +0000 @@ -20,6 +20,7 @@ assert_string_equal_free("<i>italic", yahoo_codes_to_html("\x1B[2mitalic")); assert_string_equal_free("<u>underline", yahoo_codes_to_html("\x1B[4munderline")); assert_string_equal_free("<b>bold</b> <i>italic</i> <u>underline", yahoo_codes_to_html("\x1B[1mbold\x1B[x1m \x1B[2mitalic\x1B[x2m \x1B[4munderline")); + assert_string_equal_free("<span style=\"color: #0000FF\">blue", yahoo_codes_to_html("\x1B[31mblue")); } END_TEST