Mercurial > pidgin.yaz
comparison src/gtkimhtml.c @ 5104:a20a644e0da4
[gaim-migrate @ 5467]
getting better...
gaim will ignore the <span> tags for now, until we can really make use of them
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Fri, 11 Apr 2003 00:52:02 +0000 |
parents | a7e9036cd46f |
children | 4cfc49e31c2e |
comparison
equal
deleted
inserted
replaced
5103:bfcf72c5a930 | 5104:a20a644e0da4 |
---|---|
720 VALID_TAG ("/CITE"); | 720 VALID_TAG ("/CITE"); |
721 VALID_TAG ("EM"); | 721 VALID_TAG ("EM"); |
722 VALID_TAG ("/EM"); | 722 VALID_TAG ("/EM"); |
723 VALID_TAG ("STRONG"); | 723 VALID_TAG ("STRONG"); |
724 VALID_TAG ("/STRONG"); | 724 VALID_TAG ("/STRONG"); |
725 | |
726 VALID_OPT_TAG ("SPAN"); | |
727 VALID_TAG ("/SPAN"); | |
725 | 728 |
726 if (!g_ascii_strncasecmp(string, "!--", strlen ("!--"))) { | 729 if (!g_ascii_strncasecmp(string, "!--", strlen ("!--"))) { |
727 gchar *e = strstr (string + strlen("!--"), "-->"); | 730 gchar *e = strstr (string + strlen("!--"), "-->"); |
728 if (e) { | 731 if (e) { |
729 *len = e - string + strlen ("-->"); | 732 *len = e - string + strlen ("-->"); |
1186 case 47: /* P (opt) */ | 1189 case 47: /* P (opt) */ |
1187 case 48: /* H3 (opt) */ | 1190 case 48: /* H3 (opt) */ |
1188 case 49: /* HTML (opt) */ | 1191 case 49: /* HTML (opt) */ |
1189 case 50: /* CITE */ | 1192 case 50: /* CITE */ |
1190 case 51: /* /CITE */ | 1193 case 51: /* /CITE */ |
1191 break; | 1194 case 56: /* SPAN */ |
1192 case 56: /* comment */ | 1195 case 57: /* /SPAN */ |
1196 break; | |
1197 case 58: /* comment */ | |
1193 NEW_BIT (NEW_TEXT_BIT); | 1198 NEW_BIT (NEW_TEXT_BIT); |
1194 if (imhtml->show_comments) | 1199 if (imhtml->show_comments) |
1195 wpos = g_snprintf (ws, len, "%s", tag); | 1200 wpos = g_snprintf (ws, len, "%s", tag); |
1196 NEW_BIT (NEW_COMMENT_BIT); | 1201 NEW_BIT (NEW_COMMENT_BIT); |
1197 break; | 1202 break; |