Mercurial > pidgin
diff src/gtkimhtml.c @ 5101:a7e9036cd46f
[gaim-migrate @ 5464]
this still needs a lot of work
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Thu, 10 Apr 2003 21:55:13 +0000 |
parents | 89c0c811befa |
children | a20a644e0da4 |
line wrap: on
line diff
--- a/src/gtkimhtml.c Thu Apr 10 21:27:58 2003 +0000 +++ b/src/gtkimhtml.c Thu Apr 10 21:55:13 2003 +0000 @@ -716,6 +716,13 @@ VALID_OPT_TAG ("H3"); VALID_OPT_TAG ("HTML"); + VALID_TAG ("CITE"); + VALID_TAG ("/CITE"); + VALID_TAG ("EM"); + VALID_TAG ("/EM"); + VALID_TAG ("STRONG"); + VALID_TAG ("/STRONG"); + if (!g_ascii_strncasecmp(string, "!--", strlen ("!--"))) { gchar *e = strstr (string + strlen("!--"), "-->"); if (e) { @@ -904,22 +911,26 @@ { case 1: /* B */ case 2: /* BOLD */ + case 54: /* STRONG */ NEW_BIT (NEW_TEXT_BIT); bold++; break; case 3: /* /B */ case 4: /* /BOLD */ + case 55: /* /STRONG */ NEW_BIT (NEW_TEXT_BIT); if (bold) bold--; break; case 5: /* I */ case 6: /* ITALIC */ + case 52: /* EM */ NEW_BIT (NEW_TEXT_BIT); italics++; break; case 7: /* /I */ case 8: /* /ITALIC */ + case 53: /* /EM */ NEW_BIT (NEW_TEXT_BIT); if (italics) italics--; @@ -1175,8 +1186,10 @@ case 47: /* P (opt) */ case 48: /* H3 (opt) */ case 49: /* HTML (opt) */ + case 50: /* CITE */ + case 51: /* /CITE */ break; - case 50: /* comment */ + case 56: /* comment */ NEW_BIT (NEW_TEXT_BIT); if (imhtml->show_comments) wpos = g_snprintf (ws, len, "%s", tag);