Mercurial > pidgin
diff src/gtkimhtml.c @ 5174:376349b04123
[gaim-migrate @ 5538]
made jabber xhtml stuff even better, and fixed a couple bugs in the process
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sat, 19 Apr 2003 06:28:40 +0000 |
parents | c4664c2bfbf8 |
children | 1c739f2ce94f |
line wrap: on
line diff
--- a/src/gtkimhtml.c Sat Apr 19 01:07:17 2003 +0000 +++ b/src/gtkimhtml.c Sat Apr 19 06:28:40 2003 +0000 @@ -730,6 +730,7 @@ VALID_OPT_TAG ("SPAN"); VALID_TAG ("/SPAN"); + VALID_TAG ("BR/"); /* hack until gtkimhtml handles things better */ if (!g_ascii_strncasecmp(string, "!--", strlen ("!--"))) { gchar *e = strstr (string + strlen("!--"), "-->"); @@ -1006,6 +1007,7 @@ } break; case 25: /* BR */ + case 58: /* BR/ */ ws[wpos] = '\n'; wpos++; NEW_BIT (NEW_TEXT_BIT); @@ -1199,7 +1201,7 @@ case 56: /* SPAN */ case 57: /* /SPAN */ break; - case 58: /* comment */ + case 59: /* comment */ NEW_BIT (NEW_TEXT_BIT); if (imhtml->show_comments) wpos = g_snprintf (ws, len, "%s", tag);