diff 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
line wrap: on
line diff
--- a/src/gtkimhtml.c	Thu Apr 10 22:53:57 2003 +0000
+++ b/src/gtkimhtml.c	Fri Apr 11 00:52:02 2003 +0000
@@ -723,6 +723,9 @@
 	VALID_TAG ("STRONG");
 	VALID_TAG ("/STRONG");
 
+	VALID_OPT_TAG ("SPAN");
+	VALID_TAG ("/SPAN");
+
 	if (!g_ascii_strncasecmp(string, "!--", strlen ("!--"))) {
 		gchar *e = strstr (string + strlen("!--"), "-->");
 		if (e) {
@@ -1188,8 +1191,10 @@
 				case 49:	/* HTML (opt) */
 				case 50:	/* CITE */
 				case 51:	/* /CITE */
+				case 56:	/* SPAN */
+				case 57:	/* /SPAN */
 					break;
-				case 56:	/* comment */
+				case 58:	/* comment */
 					NEW_BIT (NEW_TEXT_BIT);
 					if (imhtml->show_comments)
 						wpos = g_snprintf (ws, len, "%s", tag);