Mercurial > pidgin.yaz
comparison src/util.c @ 8026:17b90334f3cc
[gaim-migrate @ 8706]
i think this is all ok
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Tue, 06 Jan 2004 22:54:00 +0000 |
parents | 3bdfb4308d10 |
children | fa6395637e2c |
comparison
equal
deleted
inserted
replaced
8025:d85555980495 | 8026:17b90334f3cc |
---|---|
975 p = q; | 975 p = q; |
976 } | 976 } |
977 p++; | 977 p++; |
978 } | 978 } |
979 c = strchr(c, '>') + 1; | 979 c = strchr(c, '>') + 1; |
980 pt = g_new0(struct gaim_parse_tag, 1); | 980 if(style->len) { |
981 pt->src_tag = "font"; | 981 pt = g_new0(struct gaim_parse_tag, 1); |
982 pt->dest_tag = "span"; | 982 pt->src_tag = "font"; |
983 tags = g_list_prepend(tags, pt); | 983 pt->dest_tag = "span"; |
984 xhtml = g_string_append(xhtml, "<span"); | 984 tags = g_list_prepend(tags, pt); |
985 if(style->len) | 985 g_string_append_printf(xhtml, "<span style='%s'>", style->str); |
986 g_string_append_printf(xhtml, " style='%s'", style->str); | 986 } |
987 xhtml = g_string_append_c(xhtml, '>'); | |
988 g_string_free(style, TRUE); | 987 g_string_free(style, TRUE); |
989 continue; | 988 continue; |
990 } | 989 } |
991 if(!g_ascii_strncasecmp(c, "<body ", 6)) { | 990 if(!g_ascii_strncasecmp(c, "<body ", 6)) { |
992 const char *p = c; | 991 const char *p = c; |