Index: src/util.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/util.c,v retrieving revision 1.325.2.13 retrieving revision 1.325.2.15 diff -u -p -r1.325.2.13 -r1.325.2.15 --- src/util.c 13 Feb 2005 19:12:13 -0000 1.325.2.13 +++ src/util.c 22 Feb 2005 16:06:04 -0000 1.325.2.15 @@ -1121,7 +1121,10 @@ gaim_markup_html_to_xhtml(const char *ht } g_string_append_printf(xhtml, "", color->str); g_string_free(color, TRUE); - c = strchr(c, '>') + 1; + if ((c = strchr(c, '>')) != NULL) + c++; + else + c = p; pt->src_tag = "body"; pt->dest_tag = "span"; tags = g_list_prepend(tags, pt);