# HG changeset patch # User Nathan Walp # Date 1071213528 0 # Node ID b1ac84461c17e7374b66cafa21985c1c05cf99bb # Parent d20f729d3f1827ca795c6ad5a11475b41f0c35d9 [gaim-migrate @ 8491] i hate the gtkimhtml "parser" with a passion committer: Tailor Script diff -r d20f729d3f18 -r b1ac84461c17 src/gtkimhtml.c --- a/src/gtkimhtml.c Fri Dec 12 04:09:15 2003 +0000 +++ b/src/gtkimhtml.c Fri Dec 12 07:18:48 2003 +0000 @@ -1037,6 +1037,7 @@ VALID_TAG ("/SPAN"); VALID_TAG ("BR/"); /* hack until gtkimhtml handles things better */ VALID_TAG ("IMG"); + VALID_OPT_TAG ("BR"); /* see comment 2 lines up */ if (!g_ascii_strncasecmp(string, "!--", strlen ("!--"))) { gchar *e = strstr (string + strlen("!--"), "-->"); @@ -1382,6 +1383,7 @@ break; case 25: /* BR */ case 58: /* BR/ */ + case 60: /* BR (opt) */ ws[wpos] = '\n'; wpos++; //NEW_BIT (NEW_TEXT_BIT); @@ -1568,7 +1570,7 @@ case 56: /* SPAN */ case 57: /* /SPAN */ break; - case 60: /* comment */ + case 61: /* comment */ //NEW_BIT (NEW_TEXT_BIT); if (imhtml->show_comments) wpos = g_snprintf (ws, len, "%s", tag);