src/gtkimhtml.c

changeset 5104
2a09bf67e875
parent 5101
b771f92a4f10
child 5105
3565a4c4de6a
--- 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);

mercurial