Mercurial > pidgin.yaz
comparison src/gtkimhtml.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 | 096562205906 |
children | fa6395637e2c |
comparison
equal
deleted
inserted
replaced
8025:d85555980495 | 8026:17b90334f3cc |
---|---|
958 | 958 |
959 VALID_OPT_TAG ("SPAN"); | 959 VALID_OPT_TAG ("SPAN"); |
960 VALID_TAG ("/SPAN"); | 960 VALID_TAG ("/SPAN"); |
961 VALID_TAG ("BR/"); /* hack until gtkimhtml handles things better */ | 961 VALID_TAG ("BR/"); /* hack until gtkimhtml handles things better */ |
962 VALID_TAG ("IMG"); | 962 VALID_TAG ("IMG"); |
963 VALID_TAG("SPAN"); | |
963 | 964 |
964 if (!g_ascii_strncasecmp(string, "!--", strlen ("!--"))) { | 965 if (!g_ascii_strncasecmp(string, "!--", strlen ("!--"))) { |
965 gchar *e = strstr (string + strlen("!--"), "-->"); | 966 gchar *e = strstr (string + strlen("!--"), "-->"); |
966 if (e) { | 967 if (e) { |
967 *len = e - string + strlen ("-->"); | 968 *len = e - string + strlen ("-->"); |
1411 case 47: /* P (opt) */ | 1412 case 47: /* P (opt) */ |
1412 case 48: /* H3 (opt) */ | 1413 case 48: /* H3 (opt) */ |
1413 case 49: /* HTML (opt) */ | 1414 case 49: /* HTML (opt) */ |
1414 case 50: /* CITE */ | 1415 case 50: /* CITE */ |
1415 case 51: /* /CITE */ | 1416 case 51: /* /CITE */ |
1416 case 56: /* SPAN */ | 1417 case 56: /* SPAN (opt) */ |
1417 case 57: /* /SPAN */ | 1418 case 57: /* /SPAN */ |
1418 break; | 1419 case 60: /* SPAN */ |
1419 case 60: /* comment */ | 1420 break; |
1421 case 61: /* comment */ | |
1420 NEW_BIT (NEW_TEXT_BIT); | 1422 NEW_BIT (NEW_TEXT_BIT); |
1421 if (imhtml->show_comments) | 1423 if (imhtml->show_comments) |
1422 wpos = g_snprintf (ws, len, "%s", tag); | 1424 wpos = g_snprintf (ws, len, "%s", tag); |
1423 NEW_BIT (NEW_COMMENT_BIT); | 1425 NEW_BIT (NEW_COMMENT_BIT); |
1424 break; | 1426 break; |