# HG changeset patch # User Stu Tomlinson # Date 1176568628 0 # Node ID 6dab5732a4fd3c46117dde2ba090c8a56d793362 # Parent 1980273186a44c4298d912894a9a2c3e3e3c4c57 Fix the HTML-on-IRC issues observed as a result of the bi-di text support patch. I don't think that patch actually introduced the problem, but made it more apparent. diff -r 1980273186a4 -r 6dab5732a4fd libpurple/protocols/irc/irc.c --- a/libpurple/protocols/irc/irc.c Sat Apr 14 16:32:42 2007 +0000 +++ b/libpurple/protocols/irc/irc.c Sat Apr 14 16:37:08 2007 +0000 @@ -478,7 +478,7 @@ else args[0] = who; - plain = purple_unescape_html(what); + purple_markup_html_to_xhtml(what, NULL, &plain); args[1] = plain; irc_cmd_privmsg(irc, "msg", NULL, args); @@ -690,7 +690,7 @@ return irc_parse_cmd(irc, convo->name, what + 1); } #endif - tmp = purple_unescape_html(what); + purple_markup_html_to_xhtml(what, NULL, &tmp); args[0] = convo->name; args[1] = tmp;