| 1657 c = p; |
1657 c = p; |
| 1658 pt = g_new0(struct purple_parse_tag, 1); |
1658 pt = g_new0(struct purple_parse_tag, 1); |
| 1659 pt->src_tag = "font"; |
1659 pt->src_tag = "font"; |
| 1660 pt->dest_tag = "span"; |
1660 pt->dest_tag = "span"; |
| 1661 tags = g_list_prepend(tags, pt); |
1661 tags = g_list_prepend(tags, pt); |
| 1662 if(style->len) |
1662 if(style->len && xhtml) |
| 1663 g_string_append_printf(xhtml, "<span style='%s'>", g_strstrip(style->str)); |
1663 g_string_append_printf(xhtml, "<span style='%s'>", g_strstrip(style->str)); |
| 1664 else |
1664 else |
| 1665 pt->ignore = TRUE; |
1665 pt->ignore = TRUE; |
| 1666 g_string_free(style, TRUE); |
1666 g_string_free(style, TRUE); |
| 1667 continue; |
1667 continue; |